Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-08-10

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

All times shown according to UTC.

Time Nick Message
01:30 klapperl_ joined #metacpan
01:30 FROGGS__ joined #metacpan
02:35 oiami joined #metacpan
03:06 talina_ joined #metacpan
06:54 neilb joined #metacpan
08:25 oiami joined #metacpan
08:43 rashi joined #metacpan
09:16 oiami1 joined #metacpan
09:26 neilb_ joined #metacpan
09:52 neilb_ joined #metacpan
09:56 neilb joined #metacpan
11:01 talina_ joined #metacpan
12:31 neilb joined #metacpan
13:12 neilb joined #metacpan
13:28 neilb joined #metacpan
14:28 neilb_ joined #metacpan
15:37 neilb_ joined #metacpan
15:44 autarch joined #metacpan
15:45 autarch is there any module on CPAN that will let me view a set of POD docs more or less the way metacpan will format them?
15:50 neilb_ joined #metacpan
16:36 trs autarch: Pod::Simple::XHTML
16:37 trs autarch: and here's what metacpan does differently w.r.t. the actual html output: https://github.com/CPAN-API/cpan-api/blob/master/lib/MetaCPAN/Pod/XHTML.pm
16:37 dipsy [ cpan-api/XHTML.pm at master · CPAN-API/cpan-api · GitHub ]
16:37 trs obviously there is CSS on top of it, too
16:37 autarch yeah, I was hoping for a script or even better, a local srever
16:37 autarch I'm using Pod::POM::Web for now
16:40 trs autarch: do you want a server for browsing pod, or just serving up individual files to see how they render?
16:40 autarch trs: the latter
16:40 autarch but the former would work as long as it could look under ./lib
16:40 autarch basically, I'm making major edits to the Moose docs and I want to review how they'll look on metacpan
16:41 trs nod
16:42 trs it's pretty straightforward to cobble together a plackup one-liner.  I've done it in the past for this such thing.
16:42 trs I don't know of something ready-made.
16:42 trs people also make trial-releases and see how metacpan shows them.
16:42 trs but, that's less interactive.
16:44 rashi joined #metacpan
16:54 autarch yeah, I'm not going to make 30 trial releases ;)
16:59 ether autarch++ # doc cleanup
16:59 autarch ether: I'm merging the CMOP docs into Moose
16:59 ether I was thinking about putting out your lazy_build doc changes today; I guess I'll hold off a bit longer :)
16:59 autarch or rather, Class::MOP::* into the equivalent Moose::Meta::*
16:59 autarch ether: no, go for it
17:00 autarch this is a branch off that one
17:00 autarch it'll make my life easier if you merge that smaller one
17:00 ether I meant a 2.1211 release
17:00 ether ..to free up master for a 2.1300 with core overloads
17:00 autarch yeah, that sounds good too
17:00 ether but I'll merge that pr now for you
17:00 autarch my doc change can go in a stable release, obviously ;)
17:02 ether yeah I wanted to get all the mergable stuff for stable out of the way and then we (hopefully) won't have to have a divergence while the overload stuff is in trial
17:02 ether once the overloads are in master, master can't be merged into stable/2.12 anymore, so if we need another bugfix release, there will be divergence
17:02 ether which is nice to avoid
17:03 ether you had some changes to Moose::Exporter too?
17:03 ether I'll have to look at that later; going hiking imminently
17:03 autarch have fun
17:04 ether was going to go to Squamish today, except there's a music festival there this weekend... ETOOCROWDED
17:07 trs autarch: this is kinda cute: http://tsibley.net/paste/2014-08-10tl9Z_EaQ-podtogo ;)
17:11 autarch trs: what paths do I use?
17:11 autarch http://0.0.0.0:5000/Moose/Meta/Attribute.pm isn't working
17:11 trs it's relative to ./lib
17:12 autarch well, then it's not working ;)
17:12 autarch oh wait, I should be in the right directory when I run plackup, doh
17:13 autarch yes, it does work - it's me that doesn't work
17:15 trs autarch: updated version with the metacpan-specific HTML filtering: https://gist.github.com/tsibley/b043e683d419e6e2455f
17:15 dipsy [ podtogo ]
17:20 neilb_ joined #metacpan
17:20 autarch https://gist.github.com/autarch/b0537244ad553e6bb715 - with a sketchy hack to add more of the metacpan CSS
17:20 dipsy [ podtogo.pl ]
17:29 trs ah, if only metacpan enabled CORS for everything, not just the api, then http://tsibley.net/paste/2014-08-10FvDhocWB would work.
17:30 trs and not require a key in a CAS that's bound to change
17:47 mo why would you prefer less over the compiled style sheets?
17:48 trs mo: <@trs> and not require a key in a CAS that's bound to change
17:48 mo download metacpan.org and parse it out, the less compiler is terribly slow
17:49 trs sure, that's a solution too.
17:49 trs but hard coding the CAS key is bound to fail sooner than later. :)
17:49 mo true :)
17:50 mo not sure what the security implications are of going all CORS, but it seems to me like a bad idea
17:51 trs oh yeah, I'm not actually suggesting going all CORS for everything under metacpan.org/
17:51 mo oh ok :)
17:51 trs doing it for static resources would be fine, but it's clearly not a major use case :)
17:51 trs and Plack::App::Proxy can let you embrace the slowness of less.js too
18:39 neilb joined #metacpan
18:51 autarch left #metacpan

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