Camelia, the Perl 6 bug

IRC log for #mojo, 2011-08-01

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

All times shown according to UTC.

Time Nick Message
00:05 sromanov left #mojo
00:08 xaka joined #mojo
00:15 vasundhar joined #mojo
00:15 vasundhar left #mojo
00:36 Alias_ joined #mojo
01:18 arpadszasz joined #mojo
01:23 barries @sri thanks for the help. see you later.
01:23 barries left #mojo
02:19 vifo joined #mojo
02:23 tempire left #mojo
02:23 vifo_used left #mojo
02:23 tempire joined #mojo
02:27 GitHub129 joined #mojo
02:27 GitHub129 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/a6​991364c0704afef54d9c320cf7a8218fae9f56
02:27 GitHub129 [mojo/master] modernized Mojo::HelloWorld - Sebastian Riedel
02:27 GitHub129 left #mojo
02:29 sri i know i'm braking the Mojo/Mojolicious barrier, but that code needs to be maintainable
02:29 sri *+e
02:34 SmokeMachine left #mojo
02:35 crab +% title 'Uplaod';
02:36 GitHub176 joined #mojo
02:36 GitHub176 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/77​4da573a18dc8fb925f33574e071ef001bfd64d
02:36 GitHub176 [mojo/master] fixed typo - Sebastian Riedel
02:36 GitHub176 left #mojo
02:37 crab under->any looks weird
02:38 crab i guess that line is saying "you can find your mojo under any everything"
02:38 sri haha
02:42 GitHub135 joined #mojo
02:42 GitHub135 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/2a​076ca2aa9e53d314af30c077e1a43719c6df1b
02:42 GitHub135 [mojo/master] added a little safety precaution - Sebastian Riedel
02:42 GitHub135 left #mojo
02:48 sri wonder if it would be cleaner if the module was renamed to Mojolicious::HelloWorld
02:53 sri oh, t is now 1500 lines ahead of lib :)
03:20 vel joined #mojo
03:23 crab time to write more code
03:38 SmokeMachine joined #mojo
05:17 abra joined #mojo
05:48 SmokeMachine left #mojo
05:49 koban joined #mojo
05:49 SmokeMachine joined #mojo
05:55 mattastrophe left #mojo
05:57 fhelmbe__ joined #mojo
06:02 fhelmber_ left #mojo
06:03 Foxcool joined #mojo
06:03 SmokeMachine left #mojo
06:16 vifo left #mojo
06:36 arpadszasz left #mojo
06:46 cosmincx joined #mojo
07:03 AmeliePoulain joined #mojo
07:14 xaka left #mojo
07:17 preflex_ is now known as preflex
07:33 Alias_ left #mojo
07:40 perlrocks Twitter: "Perl + Mojolicious http://bit.ly/os3xw6" --rabota4you http://twitter.com/rabota4y​ou/status/97934664857174016
07:44 nickl joined #mojo
08:01 sri more code is always good
08:01 sri unless it's bad
08:27 spleenjack joined #mojo
08:33 sromanov joined #mojo
08:35 GitHub183 joined #mojo
08:35 GitHub183 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/bb​0a976cffc496613c4c4b171d462833547ea32a
08:35 GitHub183 [mojo/master] cleanup - Sebastian Riedel
08:35 GitHub183 left #mojo
08:43 tabbi joined #mojo
08:43 tabbi left #mojo
08:45 GitHub129 joined #mojo
08:45 GitHub129 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/24​00703099516dc9f4b62a5539f738b73c603f23
08:45 GitHub129 [mojo/master] tweaked Mojo::HelloWorld a bit - Sebastian Riedel
08:45 GitHub129 left #mojo
08:48 cosmincx left #mojo
08:48 sri i'm not really happy with having a lite app in the mojo namespace, but i think maintainability trumps correctness here
08:53 cosimo I understand MojoX::Renderer::TT is going to change namespace. Is that correct?
08:54 sri i hope
08:54 cosimo to Mojolicious::Plugin::? is it just a change of name or API as well?
08:54 sri name
08:55 sri but nobody should use the MojoX api anymore
08:55 cosimo I was wondering if I could do something to accelerate the transition. maybe a patch against the github repository?
08:55 cosimo or a different CPAN dist?
08:56 sri both would be fine with me
08:57 sri patch would be the nicer thing to do
08:57 cosimo I'd have to talk to abh, is he around here?
08:57 sri did you see the open ticket?
08:57 cosimo sri: yes
08:58 sri well, i've tried to talk to ask for months without much success...
08:59 sri imo best case would be a whole new distribution named Mojolicious::Plugin::Template
09:00 sri or actually Mojolicious::Plugin::TemplateRenderer
09:01 cosimo let's see if I can come up with something
09:02 sri cosimo++
09:03 cosimo or TTRenderer?
09:04 sri that doesn't decamelize well
09:04 sri would have to be TtRenderer
09:05 sri otherwise you would have to load it with its full name
09:05 cosmincx joined #mojo
09:05 sri plugin 'Mojolicious::Plugin::TTRenderer'; or plugin 't_t_renderer';
09:06 cosimo since the others I see are extensions names (EpRenderer, EplRenderer, PodRenderer)
09:06 sri i think TemplateRenderer still looks best
09:12 sri wonder if we should allow something like "plugin '+TTRenderer';"
09:12 sri for cases where the name doesn't decamelize well
09:14 Trelane joined #mojo
09:14 MisterHatt oh hey cosimo
09:14 cosimo MisterHatt: hi there
09:15 MisterHatt I kept trying to catch you at melbourne.pm, had to flight out to perth every time though, did you have a good time in .au at least?
09:15 cosimo absolutely
09:15 purl Quite so.
09:16 MisterHatt ah good to hear
09:17 cosimo pity we didn't meet then
09:19 MisterHatt always next time, and I visit europe semi-regularly
09:19 MisterHatt wanted to talk to you about varnish and your geodns I think it was
09:19 cosimo yes
09:21 MisterHatt hmm, I'm a bit busy this evening but do you mind if I throw you a pm some time this week?
09:22 cosimo no worries
09:22 MisterHatt ah excellent, thanks
09:23 sromanov left #mojo
09:34 cosimo sri: i looked at the existing code for Mojolicious::Plugin::TTRenderer
09:35 cosimo basically when you say it shouldn't use the MojoX API you mean using Mojo::Base as superclass? or..
09:35 sri i mean the namespace
09:36 cosimo ok, so just a simple name change is fine?
09:36 sri i don't really care about the MojoX api itself, i just don't want anyone to use it :)
09:36 cosimo i see
09:37 sri main problem is that regularly new users get it wrong and try to use the MojoX api… failing horribly
09:38 sri when it would have been as easy as "plugin 'tt_renderer';"
09:49 cosimo i'm trying to test the dist with my changes now
09:59 cosimo passes all tests for me
10:00 cosimo https://github.com/cosimo/mojox-rend​erer-tt/commits/drop-mojox-namespace
10:03 cosimo sri: left the name as TtRenderer for now
10:04 cosimo i think it should work in exactly the same way as before, just doesn't use any MojoX::
10:06 Foxcool left #mojo
10:11 cosimo I'd appreciate any feedback
10:13 crab why ::Engine?
10:13 crab oh, there was already a plugin. i see.
10:19 Foxcool joined #mojo
10:19 sromanov joined #mojo
10:25 sri cosimo: looks ok, not sure about ::Engine, but might be the right way to go
10:32 koban left #mojo
10:47 fmerges joined #mojo
10:52 Kulag left #mojo
10:52 Kulag joined #mojo
10:54 cosimo sri: i wasn't sure either, started as ::Impl
11:19 koban joined #mojo
11:48 trone I have this http://pastebin.com/i45Cf8ix (routes, package, error) . I'd like the app "load" a "service" param [row 21] but I suppose I'm failing with dispatching [row 33]. Some help to understand? any example?
11:51 sri trone: that's just wrong
11:51 purl Fire and brimstone coming down from the skies. Rivers and seas boiling! Forty years of darkness, earthquakes, volcanos. The dead rising from the grave! Human sacrifice, dogs and cats living together... mass hysteria!
11:51 * sri hugs purl
11:51 * purl nibbles sri's elbow
11:52 sri trone: in fact, i don't even know where to start
11:52 trone sri: I would to use different controller according to the parameters entered.
11:55 sri trone: all i can say at this point is "don't!"
11:55 sri i'm sure there is a simple answer, but i don't see the question
11:58 Alias_ joined #mojo
11:58 trone Actually I have two different php app to show similar (but not equal) data from database. I would 1) bring them to Perl, 2) to manage both with same code just configuring attributes to obtain different results, 3) put before them a login interface.
11:59 trone While I'm chatting, I'm thinking about that I'm doing error with #2: I could to make the app-object and put in Reports::Main attributes to load the right "part"... mumble.
12:02 dekimsey joined #mojo
12:06 trone maybe I understood myself. As usual, the bear tactic wins. Sorry sri. thanks however.
13:00 mattastrophe joined #mojo
13:19 vel left #mojo
13:28 SmokeMachine joined #mojo
13:56 koban left #mojo
13:59 mattastrophe left #mojo
14:11 Foxcool left #mojo
14:13 d4rkie joined #mojo
14:15 vel joined #mojo
14:15 amoore joined #mojo
14:15 AmeliePoulain left #mojo
14:16 D4RK-PH0ENiX left #mojo
14:21 sh9 joined #mojo
15:07 metaperl joined #mojo
15:08 fmerges left #mojo
15:08 fmerges joined #mojo
15:12 cosmincx left #mojo
15:15 mattastrophe joined #mojo
15:26 kaare joined #mojo
15:45 xaka joined #mojo
15:46 marty__ left #mojo
15:51 spleenjack left #mojo
15:51 marty joined #mojo
16:02 tabbi joined #mojo
16:03 tabbi left #mojo
16:16 nickl left #mojo
16:33 metaperl left #mojo
16:35 metaperl joined #mojo
16:35 fmerges left #mojo
16:36 perlrocks Twitter: "Mojolicious-Plugin-TtRenderer 1.20 by ABH - http://metacpan.org/release/ABH/Mo​jolicious-Plugin-TtRenderer-1.20/" --cpan_new http://twitter.com/cpan_ne​w/status/98069667532386304
16:41 marcus ask++
16:41 marcus cosimo++
16:42 marcus minimalist: sorry for slow response, I will apply your patch now
16:43 minimalist marcus: cool. read my message to you on google+. there are more problems with the plugin.
16:43 stephan48 which plugin?
16:43 purl which plugin is good for that?
16:43 minimalist OAuth2
16:45 marcus minimalist: All tests successful here
16:45 marcus maybe I'm behind on mojolicious
16:45 marcus yeah, like 10 versions….
16:45 minimalist marcus: yes, update your mojolicious
16:46 marcus Successfully installed Mojolicious-1.68 (upgraded from 1.65)
16:46 marcus still all pass
16:46 marcus minimalist: is it the live tests that fail for you?
16:48 minimalist well, apart from basic.t, which I sent you a patch for I'm also failing the live test
16:51 marcus minimalist: the patch was applied
16:52 minimalist marcus: ok, I'll try again ... it's possible that my facebook app is not configured well. Although, it works well with Net::OAuth2::Client.
16:53 marcus yeah, looks like they've changed from 301 to 302
16:53 marcus the live test is a bit basic tho
16:54 minimalist I'll add more tests for google and facebook and send them to you, if that's ok.
16:55 marcus minimalist: go for it. pushed 0.2 to cpan now.
16:56 marcus to fix the tests that were failing.
16:57 perlrocks Twitter: "Mojolicious-Plugin 0.2 for OAuth2 MRAMBERG - http://metacpan.org/release/MRAMBE​RG/Mojolicious-Plugin-OAuth2-0.2/" (af) --cpan_new http://twitter.com/cpan_ne​w/status/98074786625892353
17:11 GitHub138 joined #mojo
17:11 GitHub138 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/1c​dcd42f175eb0c82a6a8b8da091d0a2cc6547e3
17:11 GitHub138 [mojo/master] simplified text extraction code in Mojo::DOM - Sebastian Riedel
17:11 GitHub138 left #mojo
17:17 ph1g joined #mojo
17:18 ph1g So... my web container is serving binary files as content-type: text/plain. Is there a way I can get mojo to serve them as application/octet-stream - $app_root/public/sexyfuntime.bin
17:20 sri ph1g: i think the information you're providing is incorrect
17:20 sri .bin is already linked to application/octet-stream
17:21 ph1g in that case, yes. They are actually binary files in the format of <sharedobject>.so
17:21 ph1g So there is a mapping for file extensions somewhere?
17:22 sri http://mojolicio.us/perldoc/Mojolicious#types
17:22 ph1g awesomesauce.
17:22 ph1g Thanks sri, you're awesome
17:22 ph1g <3 mojo
17:22 sri \o/
17:24 ph1g btw, I'm fucking retarded. I literally just did this for XML. I didn't htink it would apply to static content
17:24 ph1g paint a red X on me forhead.
17:26 Koven joined #mojo
17:26 mikegrb left #mojo
17:27 mikegrb joined #mojo
17:27 Kovensky left #mojo
17:27 abra left #mojo
17:27 GitHub0 joined #mojo
17:27 GitHub0 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/8b​58e834bd4817afc2bea5f72f672b62f822b8f3
17:27 GitHub0 [mojo/master] small documentation tweaks - Sebastian Riedel
17:27 GitHub0 left #mojo
17:37 abra joined #mojo
17:39 SmokeMachine left #mojo
17:40 SmokeMachine joined #mojo
17:56 sri http://people.mozilla.com/~shorlander​/ux-presentation/ux-presentation.html # neat
18:08 sh9 left #mojo
18:14 ph1g ugh I hate XML
18:14 ph1g Mostly when it involves java folks
18:18 sri xml sucks when it's used for data serialization mostly, but for markup it's great
18:21 stephen joined #mojo
18:29 metaperl left #mojo
18:29 ph1g sri: I can dig, even up to writing XSDs and XLTs ... but alot of java developers expect the xsi namespace import, which doesn't seem to be widely supported
18:30 ph1g plus, they are argueing naming conventions with me which makes me want to release the kraken.
18:31 baton8 joined #mojo
18:32 sri haha
18:35 sri i was only refering to xml itself, not those horrible abominations that have popped up around it
18:35 sri *+r
18:40 sri it's not really xml that i like, just basic sgml-ish markup languages
18:56 vel left #mojo
19:08 GabrielVieira joined #mojo
19:17 jwang joined #mojo
19:20 tempire well it's official
19:20 tempire mojolicious penetrated all areas of computery
19:20 mikegrb I penetrated urmom
19:20 * tempire uses mojo get to debug lisp web apps
19:20 mikegrb tempire: \o/
20:15 perlrocks Twitter: "Using Template Toolkit with Mojolicious http://my.opera.com/cstrep/blog/show.dml/33348702" --cstrep http://twitter.com/cstrep/status/98124788450590720
20:58 perlrocks Twitter: "Cosimo Streppone (cosimo):      Using Template Toolkit with Mojolicious http://bit.ly/oKU2An" --perlironman http://twitter.com/perlironm​an/status/98135628251803648
21:00 metaperl joined #mojo
21:04 SmokeMachine left #mojo
21:08 amoore left #mojo
21:12 SmokeMachine joined #mojo
21:13 mhi joined #mojo
21:16 mhi Hey.  Assuming I used the TagHelper <%= text_area 'foo' %>.. how can I access the content of that text area from within my "route function"?
21:19 perlite_ joined #mojo
21:22 perlite left #mojo
21:22 perlite_ is now known as perlite
21:31 kaare left #mojo
21:36 SmokeMachine left #mojo
21:38 sromanov left #mojo
21:43 mattastrophe left #mojo
21:47 ph1g left #mojo
21:52 ph1g joined #mojo
22:01 vasundhar joined #mojo
22:09 ph1g left #mojo
22:24 metaperl left #mojo
22:33 tempire mhi: I presume you mean the controller action
22:33 tempire $self->req->param('foo')
22:34 tempire http://mojolicio.us/perldoc/Mojo/Message/Request
23:02 vasundhar left #mojo

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