The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-03-31

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

All times shown according to UTC.

Time Nick Message
00:21 jack joined #mojo
00:21 jack_ joined #mojo
00:25 shmuel joined #mojo
00:29 shmuel how do I create strait to template routes?
00:30 shmuel such as $r->get('/about');
00:31 shmuel but with specifing where the template should be?
00:47 d4rkie joined #mojo
01:02 laouji joined #mojo
01:19 bzero joined #mojo
01:39 irctc914 joined #mojo
01:44 klapperl joined #mojo
01:44 ua joined #mojo
02:42 dvinciguerra joined #mojo
03:28 laouji joined #mojo
04:31 russum joined #mojo
04:42 dj_goku shmuel: where ever your app.pl is mkdir templates and then create templates/about.html.ep
04:43 dj_goku shmuel: http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Renderer
04:45 malikai joined #mojo
04:48 laouji joined #mojo
05:12 s joined #mojo
05:14 s so we need to channel more innovation into high level things rather than HTTP redesigns
05:22 s ROIT!?
05:23 s we're working at the cutting edge of human invention
05:23 s kinda.
05:23 s depends on your state of mind.
05:25 alnewkirk joined #mojo
05:36 laouji joined #mojo
05:50 shmuel dj_goku: but I want the template for /about to be inside templates/public/about.ep.html
06:02 sujithm joined #mojo
06:09 mattp joined #mojo
06:14 Eke- joined #mojo
06:15 damaya joined #mojo
06:15 damaya ok, on the domain name thing again... what do you all think of avangaurd or avantgaurd?
06:16 damaya avant garde mixed with vangaurd... vangaurd as defined by Google: a group of people leading the way in new development or ideas.
06:18 damaya I should learn to spell gaurd
06:18 damaya guard :P
06:21 zivester joined #mojo
06:43 basiliscos joined #mojo
06:47 dod joined #mojo
06:55 abra joined #mojo
06:58 laouji joined #mojo
07:03 laouji joined #mojo
07:14 eseyman joined #mojo
07:14 Vandal joined #mojo
07:19 rawler joined #mojo
07:21 dp_ joined #mojo
07:23 dod joined #mojo
07:33 nikita_ joined #mojo
08:06 fhelmber_ joined #mojo
08:08 trone joined #mojo
08:29 fhelmber_ joined #mojo
08:33 denisboyun joined #mojo
08:38 edestler joined #mojo
08:38 maxhq joined #mojo
08:42 espent joined #mojo
08:44 s hmm
08:45 s how do I position a span with top & left so it's relative to the div it's in, which could be anywhere?
08:48 Negor joined #mojo
08:48 Bravo13 joined #mojo
08:48 Negor|2 joined #mojo
09:16 ver joined #mojo
09:19 stokachu joined #mojo
09:21 sugar_ joined #mojo
09:30 sujithm joined #mojo
09:31 nic joined #mojo
09:33 Lee joined #mojo
10:07 d4rkie_ joined #mojo
10:08 meshl joined #mojo
10:10 Jonneh joined #mojo
10:12 sujithm_ joined #mojo
10:15 denis_boyun joined #mojo
10:17 laouji joined #mojo
10:25 mire joined #mojo
10:25 maxhq joined #mojo
10:28 Negor|3 joined #mojo
10:28 Negor|4 joined #mojo
10:28 Negor|48 joined #mojo
10:34 tianon joined #mojo
10:37 meshl joined #mojo
10:49 sugar_ joined #mojo
10:53 sujithm joined #mojo
11:08 rj11 When I die qq{argh!}; in a controller action I get the standard exception page in my browser. But, if I die in a bridge, I get nothing, it just waits on the server until it reaches timeout. Is this by design?
11:10 Negor joined #mojo
11:11 Bravo13 joined #mojo
11:11 Negor|2 joined #mojo
11:18 d4rkie joined #mojo
11:19 ryozi joined #mojo
11:22 maxhq joined #mojo
11:32 dvinciguerra joined #mojo
11:33 d4rkie joined #mojo
11:40 rem_lex|pivo joined #mojo
11:56 mattastrophe joined #mojo
12:00 jack joined #mojo
12:08 mire joined #mojo
12:08 fhelmber_ joined #mojo
12:17 malikai a bridge is no place to die(), it seems..
12:22 cpan_mojo Mojolicious-Plugin-BootstrapPagination 0.09 by DOKECHIN - http://metacpan.org/release/DOKECHIN/Mojolicious-Plugin-BootstrapPagination-0.09
12:22 rj11 malikai: I guess not.
12:29 malikai batman, why did you make mojo::snmp? were you doing a monitoring or stats application or something like that?
12:30 batman malikai: no good reason... i've made mojo::snmp which i think is pretty clunky, so i wanted an alternative
12:30 batman oops. i meant snmo::effective
12:37 fhelmber_ joined #mojo
12:37 fhelmber_ joined #mojo
12:39 neilhwatson joined #mojo
12:56 malikai well it's just that it looks like it'll do well for both.. in high volume
12:59 malikai i'm getting tempted to start work on an evented network monitoring application..
13:00 malikai polling/traps/syslog is probably the three big fish
13:12 marcus batman: lots of nice nyc pictures.
13:12 d4rkie_ joined #mojo
13:13 d4rkie_ joined #mojo
13:14 Tiger joined #mojo
13:16 arthas joined #mojo
13:39 sujithm joined #mojo
13:45 sh4 joined #mojo
13:46 d4rkie joined #mojo
13:47 bluescreen joined #mojo
13:48 btyler joined #mojo
13:48 bluescreen_ joined #mojo
14:02 btyler joined #mojo
14:03 gryphon joined #mojo
14:05 sujithm_ joined #mojo
14:21 arthas joined #mojo
14:50 mattastrophe joined #mojo
14:56 nsandfield joined #mojo
14:57 nsandfield left #mojo
14:57 zackiv31 joined #mojo
14:58 nic joined #mojo
15:03 meshl joined #mojo
15:14 doby joined #mojo
15:21 dvinciguerra joined #mojo
15:23 rwp joined #mojo
15:45 mire joined #mojo
15:46 aleksey joined #mojo
15:51 sujithm joined #mojo
16:05 beyondcreed joined #mojo
16:09 sri rj11, malikai: perl -Mojo -E 'app->routes->under(sub { die "ohoh!" })->any(sub { die "never called!" }); app->start' daemon
16:10 sri oh, it's crowded in here today :o
16:26 genio but it's still quiet enough to hear the crickets!
16:36 denis_boyun joined #mojo
16:38 basiliscos joined #mojo
17:08 sri *tumbleweed*
17:14 sri hmm... this blog post contains false information... we have no X-Powered-By header http://perltricks.com/article/81/2014/3/31/Perl-web-application-security-HTTP-headers
17:14 sri should someone know the author
17:19 disputin joined #mojo
17:20 denis_boyun_ joined #mojo
17:22 marcus sri: sillymoos@cpan.org
17:33 fhelmber_ joined #mojo
17:43 aggrolite joined #mojo
17:46 aggrolite joined #mojo
17:48 mtths joined #mojo
17:49 laouji joined #mojo
17:51 denis_boyun joined #mojo
17:53 denis_boyun__ joined #mojo
18:01 gryphon joined #mojo
18:10 Eke- joined #mojo
18:32 sugar_ joined #mojo
19:00 mire joined #mojo
19:10 denis_boyun joined #mojo
19:13 stokachu joined #mojo
19:31 sugar_ joined #mojo
19:31 dod joined #mojo
19:40 lb sri: (...anymore :) )
19:41 denis_boyun_ joined #mojo
19:56 denis_boyun joined #mojo
19:59 janus joined #mojo
19:59 * janus waves
19:59 * moritz particles
20:00 * janus is trying to user Mojo::UserAgent in production...
20:00 janus *use
20:01 janus using Mojo::UserAgent to parallelize multiple POSTs, wrapped in a Mojo::IOLoop::Delay
20:02 janus usually works, but sometimes gives timeouts immediately, so now debugging Mojo::UserAgent on a staging box :)
20:06 janus meh, probably the rest of the stack ;P
20:11 denis_boyun_ joined #mojo
20:22 denis_boyun joined #mojo
20:24 janus does feel like running it inside uWSGI could be related
20:32 sri this way of performing minion jobs in tests is really quite pleasant https://github.com/kraih/minion/blob/master/t/minion_lite_app.t#L50
20:32 sri think i might give task results a try now
20:33 sri with a capped collection for push notifications
20:33 janus switched to Mojo::Reactor::Poll... test still running...
20:35 janus so within uWSGI use Mojo::Reactor::Poll and things look good
20:39 genio I think the author of that article is also wrong in that mod_headers cannot remove the Server header on Apache 2.2.x
20:40 genio ServerTokens prod      should suffice in that it will only say that it's Apache without giving a version
20:43 denis_boyun__ joined #mojo
20:48 genio I'm not 100% certain, but I seem to recall someone here at $work bitching about that in Apache.
21:06 denisboyun joined #mojo
21:07 denis_boyun joined #mojo
21:07 webart joined #mojo
21:08 webart joined #mojo
21:28 jim joined #mojo
21:29 denisboyun joined #mojo
21:34 denis_boyun__ joined #mojo
21:41 batman malikai: sounds cool. Let me
21:41 batman Know if I can help.
21:42 batman marcus: thanks :)
21:45 denis_boyun joined #mojo
21:52 sri wow... tasks with results work really really well
21:55 sri one thing is for sure, task results make for very sweet examples https://github.com/kraih/minion/blob/master/t/minion_lite_app.t#L18
21:56 sri (it's only blocking atm. but non-blocking is a trivial addition)
21:56 sri yea, you can do the whole thing blocking and it just works with tests \o/
21:57 sri uses a capped collection and tailable cursor to deliver the results to the waiting enqueue_and_wait call
22:01 nicomen we just released our mobile newssite http://touch.abcnyheter.no based on mojolicious btw ;)
22:06 sjn yay!
22:13 sri tempire: i see you found a new car? :) https://pbs.twimg.com/media/BkFiJCtCQAAFpLS.jpg
23:23 abra joined #mojo
23:34 alnewkirk joined #mojo
23:42 disputin joined #mojo
23:44 sri new examples for the new capabilities https://github.com/kraih/minion#minion-
23:45 sri (non-blocking soon to follow)
23:48 sri not entirely sure yet if the more complicated internals are worth it for the result feature
23:49 ua_ joined #mojo

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