Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2015-05-27

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

All times shown according to UTC.

Time Nick Message
00:15 punter joined #metacpan
00:26 vroom joined #metacpan
00:40 mtj joined #metacpan
00:41 mtj joined #metacpan
01:44 klapperl joined #metacpan
01:46 vroom joined #metacpan
07:10 oiami joined #metacpan
07:42 oiami joined #metacpan
07:56 dolmen joined #metacpan
08:00 GumbyNET5 joined #metacpan
08:54 ChoiKyuSang joined #metacpan
09:14 bpj joined #metacpan
09:14 ksurent joined #metacpan
09:14 bpj How can I get the code (and preferably only the code) for a module through the API?
09:17 ksurent1 joined #metacpan
10:03 ribasushi bpj: I don't think there is a pod-stripping endpoint
10:04 ribasushi bpj: to get a random module's latest indexed source: https://api.metacpan.org/source/<module>
10:05 ribasushi e.g. https://api.metacpan.org/source/B::Hooks::EndOfScope::PP
11:21 vroom joined #metacpan
11:22 mtj joined #metacpan
11:23 mtj joined #metacpan
11:34 vroom joined #metacpan
11:51 vroom joined #metacpan
12:29 vroom joined #metacpan
12:38 vroom joined #metacpan
13:01 vroom joined #metacpan
13:37 vroom1 joined #metacpan
14:03 Ptolemarch joined #metacpan
14:08 oalders bpj: the API will also give you the ranges of lines where there is pod, in case you want to strip it that way
14:08 oalders http://api.metacpan.org/module/Moose?fields=pod_lines
15:05 Ptolemarch joined #metacpan
16:36 AndroUser joined #metacpan
16:39 AndroUser joined #metacpan
16:40 jfroebe2 joined #metacpan
17:00 ksurent joined #metacpan
17:15 Ptolemarch joined #metacpan
18:16 Peter joined #metacpan
18:17 ilmari is it possible to do SQL LIKE-style matching on the "generated_by" meta field?
18:18 ilmari or even just prefix matching, e.g. $META{generated_by} =~ /^Module::Install version 0\./
18:31 oalders ilmari: not yet https://github.com/CPAN-API/cpan-api/issues/413
18:47 oiami joined #metacpan
18:49 ilmari oalders: ah, okay
19:17 alh joined #metacpan
19:36 metacpan joined #metacpan
19:36 metacpan [metacpan-web] ranguard created leo/switch_css_js_to_cdn_friendly (+2 new commits): http://git.io/vkODy
19:36 metacpan metacpan-web/leo/switch_css_js_to_cdn_friendly 8be6769 Leo Lapworth: Switch to new /assets/style.css and /assets/mc.js...
19:36 metacpan metacpan-web/leo/switch_css_js_to_cdn_friendly 4f3520c Leo Lapworth: Move processing of non-less files into style.less...
19:36 metacpan left #metacpan
19:36 alh r/b 15
19:40 metacpan joined #metacpan
19:40 metacpan [metacpan-web] ranguard force-pushed leo/minimise_vary_usage from d051805 to e1b8a29: http://git.io/vkOSA
19:40 metacpan metacpan-web/leo/minimise_vary_usage e1b8a29 Leo Lapworth: now favs/login is via AJAX, only "Vary" on cookie in account
19:40 metacpan left #metacpan
19:49 ranguard anyone see any problem with: https://github.com/CPAN-API/metacpan-web/pull/1536 ?
20:32 haarg ilmari: grep.cpan.me should be able to help you with that
20:41 hernan604 joined #metacpan
20:43 haarg ranguard: looks fine to me
20:55 vroom left #metacpan
20:59 ranguard haarg: cheers, pease also review: https://github.com/CPAN-API/metacpan-web/pull/1537 (would be deployed after the Vary one)
21:01 haarg that one i'm not sure about
21:01 ranguard doh, other than tests failing
21:01 haarg if we continue using hashed paths, we can set fastly (and browsers) to cache forever
21:02 ranguard but can't be 100% sure fastly will have the content
21:03 haarg well, we can really
21:03 oalders that also adds File::Slurp to our deps, but i guess that's via a different CPAN module that was added
21:03 haarg i have partial code for an alternate approach
21:04 haarg where the files are generated on disk
21:04 haarg and we can just leave them in place (possibly clearing them occasionally)
21:04 leont That reminds me to finish my "File::Slurp must die" post :-p
21:04 haarg if we use static paths for the css/js, then browsers can't cache them (at least not for long)
21:04 ranguard haarg: that would be good, something you can finish :) ?
21:05 haarg shouldn't be a ton of effort
21:05 haarg i'll take a look
21:06 ranguard cool, oh, and client side less processing with dozens of inc files is a pita - IMHO ;)
21:07 ranguard oalders: someone else can get religious enough to 'fix' that... if we still actually need this branch, but sounds like we might not
21:08 oalders was really more of an observation ;)
21:08 oalders i'm surprised something else hadn't already pulled it in
21:11 * ranguard heads to bed having spent the evening on this branch that might not be needed.. (but haarg's would be a better long term solution)
21:12 vroom joined #metacpan
21:19 haarg ilmari: http://grep.cpan.me/?q=generated_by.*%3FModule%3A%3AInstall+version+%280\.69|0\.[789]|1\.0[01234]%29+file%3A^META\.yml
21:31 oalders i'm looking for feedback on this author search: http://demo.constructor.io/?dest=https://metacpan.org/
21:31 oalders it'll just bounce you over to the author page
21:47 grantm oalders: one possible refinement ...
21:47 grantm include (PAUSE_ID) after the name e.g.: Ricardo SIGNES (RJBS) so that can be matched too
21:47 grantm there are a number of authors who I 'know' primarily by their pause ID
21:48 oalders grantm: right. good idea :)
21:48 * grantm notices that (suffix) is already used for alternate name representation
21:50 _dolmen_ joined #metacpan
22:03 vroom1 joined #metacpan
22:13 vroom1 joined #metacpan
22:24 vroom1 joined #metacpan
22:34 vroom1 joined #metacpan
23:07 vroom1 joined #metacpan
23:48 vroom1 joined #metacpan

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