Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-06

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

All times shown according to UTC.

Time Nick Message
00:04 MojoGuest505 joined #mojo
00:04 MojoGuest505 From: http://news.ycombinator.com/x?fnid=Hd0SEoR2eY (1 hits)
00:10 MojoGuest505 left #mojo
00:29 Akron left #mojo
00:56 MojoGuest541 joined #mojo
00:56 MojoGuest541 From: http://news.ycombinator.com/x?fnid=Gwtuto1Ypr (1 hits)
00:56 MojoGuest541 left #mojo
00:58 MojoGuest71 joined #mojo
00:58 MojoGuest71 From: http://news.ycombinator.com/x?fnid=hiC10Czkpi (1 hits)
00:58 MojoGuest71 left #mojo
02:41 MojoGuest485 joined #mojo
02:41 MojoGuest485 From: http://news.ycombinator.com/x?fnid=b8ZWh7kDGF (1 hits)
02:43 MojoGuest485 left #mojo
02:46 MojoGuest738 joined #mojo
02:46 MojoGuest738 From: http://news.ycombinator.com/x?fnid=b8ZWh7kDGF (2 hits)
03:58 achromic left #mojo
03:59 MojoGuest714 joined #mojo
03:59 MojoGuest714 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (18 hits)
04:00 MojoGuest714 left #mojo
04:04 tl joined #mojo
04:06 tholen42 left #mojo
04:33 kaare joined #mojo
05:09 ysyrota joined #mojo
05:15 yakudzo left #mojo
05:23 yakudzo joined #mojo
05:32 achromic joined #mojo
05:36 MojoGuest361 joined #mojo
05:43 MojoGuest361 left #mojo
05:43 MojoGuest268 joined #mojo
05:43 MojoGuest268 dsfdf
05:43 MojoGuest268 http://dev.xantus.org/#
05:45 MojoGuest268 left #mojo
06:00 MojoGuest491 joined #mojo
06:01 MojoGuest491 left #mojo
06:01 MojoGuest631 joined #mojo
06:02 MojoGuest631 You know, since you apparently know who I am on Facebook, you should change my IRC handle to my facebook username.
06:02 MojoGuest631 Though I would probably be freaked out and run away if you did.
06:02 crab i don't know who you are on facebook.
06:02 MojoGuest631 Get off my lawn!
06:03 MojoGuest631 I'm speaking mainly to the developer of this websocket demo.
06:03 MojoGuest631 left #mojo
06:03 crab if he's on your lawn, maybe you should stick your head out of the window and yell ;-)
06:29 ltriant left #mojo
07:12 kvorg left #mojo
07:23 MojoGuest738 left #mojo
07:34 Christian joined #mojo
07:35 Christian moin
07:36 crab mooin'
07:45 koban joined #mojo
08:26 yakudzo left #mojo
08:27 otaviof left #mojo
08:33 yakudzo joined #mojo
08:37 tl left #mojo
08:55 tholen joined #mojo
09:04 raisen left #mojo
09:11 Kulag left #mojo
09:12 Kulag joined #mojo
09:21 perlrocks Twitter: "Padre-Plugin-Mojolicious 0.05 by Ahmad M. Zawawi - http://frepan.64p.org/~azawawi/​Padre-Plugin-Mojolicious-0.05/" --cpan_new http://twitter.com/cpan_ne​w/status/11711738810470400
09:31 Kulag left #mojo
09:32 Kulag joined #mojo
09:44 MojoGuest118 joined #mojo
09:44 MojoGuest118 From: http://news.ycombinator.com/x?fnid=HAw0XBfjry (1 hits)
09:45 Kulag left #mojo
09:45 Kulag joined #mojo
10:01 spleenjack joined #mojo
10:07 achromic left #mojo
10:12 su-bzero joined #mojo
10:26 achromic joined #mojo
11:04 kimoto joined #mojo
11:09 su-bzero_ joined #mojo
11:13 su-bzero left #mojo
11:25 kimoto left #mojo
11:33 marcus mooooorning
11:35 kimoto joined #mojo
11:48 crab does anyone like one of these javascript templating things?
12:05 dotan joined #mojo
12:15 su-bzero_ Where javascript templating things?
12:16 crab e.g. icanhasjs.com, mustache.js, pure.js, jquery tmpl, etc.
12:26 dotan crab: there's a mustache perl lib (on github, not cpan). when I read about icanhaz and mustache I thought that could let you use a single templating language for both server and client.
12:27 crab yeah... but then i'm rather used to mojo's templating now, and switching would be annoying :/
12:29 Kulag left #mojo
12:29 Kulag joined #mojo
12:32 dotan crab: yeah, that's the rub. We use TT and we're starting to use Ext, which has it's own templates. John Resig's original javascript templates posts used <% %> syntax, so it should be simple to put together a javascript library that handles a subset of mojo's templating.
12:40 marcus oh fuck
12:40 marcus just installed Plugin::Mail, and it upgraded Mojolicious
12:40 marcus Can't locate object method "pid_file" via package "Mojo::Server::Daemon::Prefork" at /usr/local/lib/perl5/site_perl/5.1​0.1/Mojo/Command/DaemonPrefork.pm line 80
12:40 marcus guess I'm switching to hypnotoad asap
12:41 kaare left #mojo
13:16 marcus seen vti?
13:17 Akron joined #mojo
13:18 marcus urgh
13:18 marcus bootylicious ships with a old mojolicious
13:19 marcus so now I have a broken bootylicious :/
13:21 sri why would bootylicious depend on an old version?
13:29 marcus it bundles mojo
13:30 sri ok, but how is that a problem?
13:30 marcus Can't load application "/usr/local/labs/bootylicious": Command "hypnotoad" missing, maybe you need to install it?
13:31 sri ah, for hypnotoad ok
13:31 marcus yeah, I was using daemon prefork before
13:31 marcus so when Plugin::Mail upgraded my mojolicious, all my servers broke
13:32 marcus would actually be nice if daemon_prefork could be emulated using hypnotoad
13:32 sri no it wouldn't
13:32 sri it would mean emulating bugs
13:32 marcus how so?
13:32 sri because it is just broken
13:32 marcus almost anyone who's using daemon_prefork is sol now
13:33 marcus so it could just start hypnotoad with the same config instead of daemon::prefork
13:33 sri feel free to adopt the command
13:33 marcus ah, prefork is removed completely from the new one?
13:33 sri yes
13:34 sri it is still up for adoption
13:34 marcus ok
13:34 marcus I can adopt it and make it a thin wrapper around hypnotoad
13:34 sri \o/
13:34 Akron crab: sammy.js has a bunch of templating systems with it, including John Resig's original templating system.
13:34 marcus will look into it this evening.
13:37 sri i'll give you co-maint
13:38 sri the hypnotoad command is very special though
13:38 sri since it uses fork/exec
13:39 sri dumb wrapper won't do
13:48 espent left #mojo
13:48 espent joined #mojo
13:51 espent left #mojo
13:52 marcus hmm
13:52 marcus I'm not so sure home is detected correctly for lite apps.
13:52 espent joined #mojo
13:56 marcus hmm, maybe I am wrong..
13:58 marcus I am wrong
13:58 marcus :)
14:04 jfuller left #mojo
14:12 daviddelikat1 left #mojo
14:23 crab Akron: do you use it/like it/recommend it?
14:24 Akron crab: I played around with it and think it's funny - especially in combination with Mojolicious and because I already use jquery in nearly all places.
14:24 MojoGuest838 joined #mojo
14:25 MojoGuest838 hi
14:25 Akron crab: Regarding templates I started with http://embeddedjs.com/, but that's obsolete with sammy.js.
14:25 MojoGuest838 Page not Found
14:27 MojoGuest838 left #mojo
14:48 otaviof joined #mojo
14:54 otaviof left #mojo
14:54 otaviof joined #mojo
14:59 yakudzo left #mojo
15:02 espent left #mojo
15:05 kimoto left #mojo
15:06 otaviof left #mojo
15:07 otaviof joined #mojo
15:08 daviddelikat joined #mojo
15:09 rhaen hello world
15:11 crab i see. thanks.
15:12 sri lorem ipsum dolor
15:15 und3f[A] is now known as und3f
15:19 otaviof left #mojo
15:27 otaviof joined #mojo
15:31 otaviof left #mojo
15:31 otaviof joined #mojo
15:34 MojoGuest955 joined #mojo
15:39 otaviof left #mojo
15:39 otaviof joined #mojo
15:42 otaviof left #mojo
16:01 koban left #mojo
16:08 ysyrota left #mojo
16:13 Christian left #mojo
16:31 MojoGuest118 left #mojo
16:35 Akron Is there a best practice for plugin based stash values, like stash('mojolicious.plugin.foobar')?
16:42 MojoGuest955 left #mojo
16:46 sri Akron: dunno what you mean
16:48 sri for internals we use mojo.* values
16:48 sri otherwise there is no convention
16:48 Akron Let's say I've got a Plugin to populate my site's meta data - Mojolicious::Plugin::Meta - and I want to populate it in Controllers and even in Templates - the best way is to use a stash value, I think, and it would be nice to use a namespace, that's conventional.
16:48 sri we have no such convention yet
16:49 Akron Hm. Okay. So better use mojo.meta - because its merely internal? Or what would you call internal?
16:49 sri mojo.plugin.* might make sense
16:49 Akron Hm.
16:49 sri don't use mojo.* ever
16:49 sri it is reserved for internals
16:49 Akron mojo.plugin.* sounds good.
16:50 sri mojo.* values will possibly be hidden in the new exception template too
16:51 sri maybe you should go with plugin.*
16:51 sri or plugin.meta.*
16:52 sri yea, prolly best to stay away from mojo.* entirely
16:53 Akron If you conventionally say: (mojo.)plugin.* it is - you could add nice features - like relying on mojo.plugin.__PACKAGE__.version or something.
16:54 sri plugin.* then
16:54 Akron Or is there a way to read out all registered plugins yet?
16:54 Akron Okay. plugin.* wins. ;)
16:55 sri nope, plugins are too liberal for that
16:55 sri you would need a meta plugin system with more restrictions for that
16:56 Akron And register is completely self-defined. I see. So no "on register" hook is possible.
16:58 sri you can replace app->plugins
16:58 sri there is always a way, mojolicious is a building block system
16:58 dotan left #mojo
17:00 Akron No good, if I want to build plugins for more than just me.
17:01 sri you can always stay backwards compatible and add extensions
17:02 sri there are so many ways
17:08 arthas joined #mojo
17:10 und3f is now known as und3f[A]
17:14 MojoGuest863 joined #mojo
17:39 MojoGuest863 left #mojo
17:55 Akron left #mojo
18:13 a|newkirk[assoc] joined #mojo
18:42 perlrocks left #mojo
18:58 a|newkirk[assoc] is now known as alnewkirk
19:00 spleenjack left #mojo
19:04 Kulag left #mojo
19:04 Kulag joined #mojo
19:06 fhelmber_ left #mojo
19:16 Kulag left #mojo
19:20 Kulag joined #mojo
19:26 stephen left #mojo
19:28 stephen joined #mojo
19:45 arthas left #mojo
19:50 vel joined #mojo
20:04 perlite_ joined #mojo
20:07 spleenjack joined #mojo
20:07 perlite left #mojo
20:07 perlite_ is now known as perlite
20:16 MojoGuest17 joined #mojo
20:21 spleenjack left #mojo
20:48 warthurt left #mojo
20:56 stephen left #mojo
20:58 stephen joined #mojo
20:59 ltriant joined #mojo
21:09 MojoGuest17 left #mojo
21:21 alnewkirk left #mojo
21:50 daviddelikat left #mojo
21:59 arpadszasz joined #mojo
22:05 arpadszasz hello
22:06 arpadszasz i'm trying to define a new helper from my Mojo instance script (index.pl)
22:06 * sri waves
22:06 arpadszasz $app=WebApp->new; $app->helper( cfg => sub { 'cfg'} )
22:06 su-bzero_ left #mojo
22:06 su-bzero joined #mojo
22:07 arpadszasz but i can't acces that helper from templates
22:07 sri umm
22:07 sri what is index.pl?
22:07 arpadszasz other methods work there ( like $app->renderer->root() )
22:07 arpadszasz an instance script, i'm using Apache
22:08 sri is that a lite app?
22:08 arpadszasz no
22:08 sri anyway, doesn't matter, it is wrong
22:08 sri helpers don't belong there
22:09 sri define them in "startup" or a plugin
22:09 arpadszasz index.pl starts a Mojolicious object instance
22:09 sri "$app->renderer->root()" is also wrong
22:09 arpadszasz hm
22:10 sri "$app=WebApp->new;" this is where it all went wrong
22:10 sri i suspect
22:10 arpadszasz it's not a mojo-lite app
22:10 sri well, you don't show the script, so i'm guessing
22:10 arpadszasz it's a full Mojolicious app with separate classes that subclass Mojolicious::Controller
22:11 arpadszasz just a sec.
22:13 arpadszasz http://pastie.org/1353709
22:13 arpadszasz basically it has this setup, but all on different files
22:14 sri umm
22:14 sri that script tells me nothing
22:14 sri is there a question hidden somewhere?
22:14 arpadszasz the package main; part is in index.pl
22:15 sri ...
22:15 arpadszasz yeah, why doesn't $app->helper() work :)
22:15 arpadszasz $app is an isa Mojolicious object, right ?
22:15 kvorg joined #mojo
22:15 sri well, i have to run now, too bad you didn't show me the real problem :/
22:17 arpadszasz maybe i didn't explained clearly
22:17 arpadszasz anyway thanks
22:25 warthurt joined #mojo
22:27 vel left #mojo
22:31 arpadszasz left #mojo
22:51 warthurt left #mojo
22:57 warthurt joined #mojo
23:00 sri hmm, now he just ran :S

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