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

IRC log for #mojo, 2017-04-04

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

All times shown according to UTC.

Time Nick Message
01:21 genio man. you go see movies quick
01:49 PryMar56 joined #mojo
02:32 noganex joined #mojo
02:36 jabberwok joined #mojo
02:43 jabberwok joined #mojo
02:43 jabberwok left #mojo
02:44 jabberwok joined #mojo
03:11 stryx` joined #mojo
04:04 dboehmer_ joined #mojo
05:00 arcanez is there a best practice when dealing with URL endpoints? ie: normal HTML end points and AJAX end points?
05:00 arcanez sane to have a /ajax/foo and /foo ?
05:12 spicyjack use the "Accept:" header from the client to determine what to return from the client
05:17 spicyjack https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Rendering.pod#Content-negotiation
05:37 inokenty-w joined #mojo
05:45 SwellJoe joined #mojo
05:53 dod joined #mojo
05:59 dod joined #mojo
06:13 stryx` joined #mojo
06:45 AndrewIsh joined #mojo
06:52 prg joined #mojo
07:02 Vandal joined #mojo
07:12 trone joined #mojo
07:46 osfabibisi joined #mojo
07:53 irqq joined #mojo
08:42 rshadow joined #mojo
09:47 irqq_ joined #mojo
10:53 irqq joined #mojo
11:06 tchaves joined #mojo
11:40 Peppard joined #mojo
11:53 marcus *yawn*
12:17 sri genio: only for some movies... and i wouldn't have if i knew how bad it was in advance :S
12:19 good_news_everyon joined #mojo
12:19 good_news_everyon [mojo] kraih pushed 2 new commits to master: https://git.io/vSR5r
12:19 good_news_everyon mojo/master f27a08c Adriano Ferreira: Mojo::Date: epoch can be a negative number
12:19 good_news_everyon mojo/master d313320 Sebastian Riedel: Merge pull request #1079 from aferreira/devel/negative-epoch...
12:19 good_news_everyon left #mojo
12:27 dso left #mojo
12:33 good_news_everyon joined #mojo
12:33 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vSRFK
12:33 good_news_everyon mojo/master c09b0f1 Sebastian Riedel: a few more Mojo::Date tests
12:33 good_news_everyon left #mojo
12:34 sri btw. i did something cool with the minion status stuff, $worker->status now actually stores the settings used by the worker command https://github.com/kraih/minion/compare/21254b0a68a5e9f1cfaf623613ff26b3a73c3b1e...c46aeac956f9f75bb336da83094cd8311dad346d
12:34 sri that means anyone can add new remote control commands to their app to change those settings at runtime
12:35 nic sounds v nice
12:38 sri and we have a problem with the Mojo::Date change https://travis-ci.org/kraih/mojo/jobs/218440126
12:40 good_news_everyon joined #mojo
12:40 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vSRbW
12:40 good_news_everyon mojo/master d87581f Sebastian Riedel: remove support for negative epoch values from Mojo::Date again
12:40 good_news_everyon left #mojo
12:46 sri oooh
12:46 sri this could be really cool for minion https://www.depesz.com/2017/04/04/waiting-for-postgresql-10-full-text-search-support-for-json-and-jsonb/
12:46 sri fulltext search for job arguments
12:59 gryphon joined #mojo
13:04 stryx` joined #mojo
13:24 gizmomathboy joined #mojo
13:41 Yysachinyy joined #mojo
13:42 Yysachinyy Hi everyone,
13:42 purl i guess Hi everyone, is it possible to create directories/files with perl commands that create them undere your username, not 'nobody' and 'nogroup'?
13:44 haarg purl: forget Hi everyone,
13:44 purl haarg: I forgot hi everyone,
13:45 rshadow joined #mojo
13:46 Yysachinyy How do i render a pretty json? I have tried $self->app-->renderer->add_handeler(json => ... But couldnt make it work.
13:49 Yysachinyy The call back in add_handler never gets called. In my controller $c->render(json => perlref};
13:55 sri can we get a few more reviews for this? https://github.com/kraih/mojo/pull/1073
13:59 * sri pokes jberger
14:32 jberger votes +1
14:33 jberger I linked marcus' newer example usage of Inotify
14:37 sri well, then it has the votes
14:38 good_news_everyon joined #mojo
14:38 good_news_everyon [mojo] kraih pushed 2 new commits to master: https://github.com/kraih/mojo/compare/d87581f55f79...19b8d66a5fbf
14:38 good_news_everyon mojo/master 5022c17 Marcus Ramberg: Add support for pluggable reloader backends in Morbo. Can be set on the...
14:38 good_news_everyon mojo/master 19b8d66 Sebastian Riedel: Merge pull request #1073 from marcusramberg/pluggable_morbo...
14:38 good_news_everyon left #mojo
14:45 sri argh
14:45 sri still lots of things for me to fix :S
14:46 disputin joined #mojo
14:49 sri wow, so many things i forgot to mention
15:09 good_news_everyon joined #mojo
15:09 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vS0CB
15:09 good_news_everyon mojo/master 8b60d3a Sebastian Riedel: fix a few small inconsistencies and update Changes
15:09 good_news_everyon left #mojo
15:35 gregf_ joined #mojo
16:45 rshadow joined #mojo
17:02 PryMar56 joined #mojo
17:56 jacobydave joined #mojo
18:02 janl joined #mojo
18:16 howitdo joined #mojo
18:21 Pyritic joined #mojo
18:22 marty joined #mojo
18:26 arcanez what is the best/easiest way to get the 'base' route? I have /foo, /bar, /baz and then /foo/something, /bar/this, etc.. and I want to know when I'm on foo, bar, baz for navigation breadcrumbs
18:26 arcanez should I just manually stash in the controllers?
18:27 Grinnz you can add to the stash when setting up routes (with additional ->to keys) or you can grab $c->req->url and parse it
18:31 rshadow joined #mojo
18:32 irqq joined #mojo
18:37 sh14 joined #mojo
18:50 SwellJoe joined #mojo
19:03 genio sri: given your other pointers, getting rid of ->is_complete in favor of a ->real_size that could be stolen directly from ->body_size and ->body_size could then fall back to real_size if there's no content length header instead
19:06 SwellJoe joined #mojo
19:10 sri genio: would seem reasonable, if you can explain it well in the docs
19:10 SwellJoe joined #mojo
19:41 zivester joined #mojo
19:41 genio sri: https://gist.github.com/genio/dfe09035d5bb7ae6b4b2aa6355c5826f
19:47 sri genio: that looks completely borked again i'm afraid
19:47 janl left #mojo
19:48 sri the size of the asset has no relation to the size of the received message body
19:51 sri otherwise raw_size wouldn't have to exist
19:51 sri once you understand that it should make more sense
19:53 sri Mojo::Content::progress is also relevant
19:54 sri special cases you have to deal with are for example gzip compression and chunked transfer encoding
19:57 genio sri: I think this is where I should give up. :)  I'm just wasting more of your time reviewing crap than is necessary and it will likely end up being too large of a change for such an edge case
19:58 genio I'll read more and try to understand the entire flow, surely
20:04 Pyritic joined #mojo
20:06 miller joined #mojo
20:10 Sebbe joined #mojo
20:50 Pyritic joined #mojo
21:11 disputin joined #mojo
21:30 tchaves joined #mojo
21:45 marty_ joined #mojo
21:54 marty joined #mojo
21:54 disputin joined #mojo
21:56 disputin joined #mojo
22:11 dikim joined #mojo
22:31 arcanez do content_for blocks append or replace
22:43 sri ouch, that code looks pretty bad now :( https://github.com/kraih/mojo/pull/1080
22:43 sri i'll let the community sort it out i guess
22:45 SwellJoe joined #mojo
23:18 elik joined #mojo
23:32 disputin1 joined #mojo
23:47 irqq_ joined #mojo
23:49 elik joined #mojo

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