Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-12-12

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
07:13 domidumont joined #perl6-toolchain
07:18 domidumont joined #perl6-toolchain
08:00 nine I think by now I've fulfilled all of jnthn++'s requirements for merging lexical_module_load. So it's just a matter of if we want to wait till after the release or not.
10:08 lizmat I would be in favour of before
15:12 ugexe I'd be in favour of before too - it would be a good thing to show off in the advent calender
15:14 perlpilot +1 from me for the same reason as ugexe :-)
15:27 lizmat I think consensus is now to do it just after the release
15:27 lizmat and the advent calendar is already full anyway, no?
15:31 tbrowder joined #perl6-toolchain
15:41 FROGGS joined #perl6-toolchain
15:43 ugexe I could slip it into mine, since I'm briefly going over short-name/long-name for module lookup
15:44 ugexe then again my post is on thursday (a few days before release)
15:46 ugexe er friday
15:58 lizmat ugexe: maybe a switch could be possible ?
16:03 ugexe I can ask... should I query those on the 18th+?
16:05 lizmat well, that seems logical  :-)
16:05 lizmat .oO( should stop identifying myself with Bones )
16:28 ugexe nine: I'm thinking `method !matching-dist`, when given an identity that lacks an :auth<> and/or ver such as Foo::Bar, needs a way to first check if `$CALLER_COMPUNIT.distribution.name eq $spec.short-name` exists. If it does exist, then add `$CALLER_COMPUNIT.distribution.[ver&auth]` to the short-name before looking it up.
16:29 ugexe So if a distribution like HTTP::UserAgent provides HTTP::Request it can use `use HTTP::Request;` (sans auth/ver) and never get a version provided by a different distribution (see: https://github.com/sergot/http-useragent/commit/06c03a7a769950cfd16d2cb71284c3d8cb33b882). superseded-by could eventually be used to point at a HTTP::Request provided by a different distribution.
16:35 ugexe `return %!loaded{$spec.short-name} if %!loaded{$spec.short-name}:exists;` caching will likely need to be tweaked as well
19:33 domidumont joined #perl6-toolchain
19:34 domidumont joined #perl6-toolchain
20:40 nine ugexe: sounds like a policy. Like the Linux kernel developers I'd prefer to leave policy to the users and just provide mechanism.
20:40 nine Or at least try to figure out what possible best practices we should have so that such a policy is not necessary normally.
20:41 nine For example, I'd still like our module authors to communicate openly and often about how to name modules and to avoid naming conflicts as much as possible.
20:43 nine CPAN has come very far with prohibiting re-use of names. It's just a hand full of cases where an auth mechanism would have made it easier for users and developers. I'd like this tool to be used sparingly and wisely as a kind of last resort.
20:44 nine My rationale being that a user installing HTTP::UserAgent will not expect to get an HTTP::Request, too. And I'd hate to see auth being used extensively just because authors are to lazy to split off commonly used or usable modules from their dists and working together on the basics.
21:11 lizmat nine: +1
22:57 ugexe true, but its also difficult to understand from a developer standpoint because the behavior would not be consistent across CURs. when I do -Ilib I get one distribution's version of HTTP::Request, and when I install the distribution it may end up using another

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary