Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-04-28

Perl 6 | Reference Documentation | Rakudo

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

All times shown according to UTC.

Time Nick Message
00:09 Cabanossi joined #perl6
00:10 timeless joined #perl6
00:20 cpage_ joined #perl6
00:47 astj joined #perl6
00:55 kurahaupo_ joined #perl6
01:24 Cabanossi joined #perl6
01:49 ilbot3 joined #perl6
01:49 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:09 Cabanossi joined #perl6
02:18 mcmillhj joined #perl6
02:37 poohman joined #perl6
02:47 noganex joined #perl6
03:00 pierre_ joined #perl6
03:06 mcmillhj joined #perl6
03:18 mcmillhj joined #perl6
03:24 Cabanossi joined #perl6
03:37 Geth Swapped META.info → META6.json in 1 dists in https://github.com/perl6/ecosystem/commit/9db0764a6a
03:38 Cabanossi joined #perl6
03:45 aindilis joined #perl6
03:50 aborazmeh joined #perl6
03:50 aborazmeh joined #perl6
03:52 tharkun_ joined #perl6
03:58 pierre_ joined #perl6
03:58 pierre_ Hi all, quick question, how can i verifiy the version of a module, in my perl6 code?
03:59 pierre_ Module metas are in Perl6::Metamodel::ModuleHOW
03:59 pierre_ but i did not find anything about that class in the docs
04:08 Cabanossi joined #perl6
04:19 wamba joined #perl6
04:21 pierre_ It seems that one of the bug i reported a long time ago is fixed
04:21 pierre_ https://rt.perl.org/Ticket/Display.html?id=127959
04:31 xtreak joined #perl6
04:40 mcmillhj joined #perl6
04:43 xtreak joined #perl6
04:46 KDr2_c joined #perl6
04:54 cpage_ joined #perl6
05:21 imcsk8 joined #perl6
05:23 Cabanossi joined #perl6
05:36 lowbro joined #perl6
05:36 lowbro joined #perl6
05:39 ufobat___ joined #perl6
05:58 pierre_ joined #perl6
06:17 alyptik joined #perl6
06:24 go|dfish joined #perl6
06:25 parv joined #perl6
06:39 domidumont joined #perl6
06:40 u-ou is there a good tutorial on effective use of roles?
06:45 domidumont joined #perl6
06:58 jsimonet joined #perl6
07:02 moritz u-ou: I'm not aware of one
07:03 moritz if you find one, please let me know :-)
07:03 u-ou ok :p
07:03 moritz pierre_: I think you can use TheModule:ver<0.1>; or something like that
07:12 darutoko joined #perl6
07:16 rindolf joined #perl6
07:22 astj joined #perl6
07:23 Cabanossi joined #perl6
07:25 mcmillhj joined #perl6
07:27 Geth ¦ ecosystem: d735bea0b5 | (Martin Barth)++ (committed using GitHub Web editor) | META.list
07:27 Geth ¦ ecosystem: XML::XPath: meta -> meta6
07:27 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/d735bea0b5
07:28 ufobat joined #perl6
07:39 Geth Swapped META.info → META6.json in 1 dists in https://github.com/perl6/ecosystem/commit/2f3e47a9fa
07:43 domidumont joined #perl6
07:44 salva joined #perl6
07:50 TimToady joined #perl6
07:50 sammers hi all
07:52 u-ou hi
07:56 mcmillhj joined #perl6
07:59 pierre_ joined #perl6
08:02 wamba joined #perl6
08:03 pierre_ moritz: yes, i can force inclusion of one version, but i wanted to include a module and then check what version it is
08:04 pierre_ i ended up checking with zef
08:04 pierre_ zef info Some::Module
08:09 cpage__ joined #perl6
08:23 Cabanossi joined #perl6
08:23 xtreak joined #perl6
08:27 samcv stage 3 (or 4?), going to do the rest of the licenses by hand. have my robot print out to a file its 3 best guesses along with percent match, then i can choose the right one myself
08:27 zakharyas joined #perl6
08:29 tyil nice
08:30 samcv 8 threads is a good number
08:30 samcv ok done. cool. so 120
08:33 tyil samcv: I looked into nightly .deb builds for rakudo, can either use fpm or just write a small script for the specific task
08:33 tyil can run either cronjobbed on one of my servers
08:33 tyil might make an apt repo to make it even easier to use in travis
08:35 ufobat hi )
08:36 tyil hi
08:39 Geth Swapped META.info → META6.json in 4 dists in https://github.com/perl6/ecosystem/commit/ace0b26929
08:40 xtreak joined #perl6
08:42 samcv nice it even picks out GPL-3.0+ vs GPL-3.0
08:42 samcv for ones that are any later version. though i'm double checking that with ctrl +f to make double sure
08:48 samcv can put a plus after any license identifier, if it contains a clause that allows you to use newer versions if you choose. i guess in old SPDX revisions GPL-3.0+ was its own identifier, but obviously they decided that was silly, and let you apply it to any license identifier
08:50 eliasr joined #perl6
08:55 xtreak joined #perl6
08:57 samcv wow no wonder the best match was 00.04 % for this license...
08:57 samcv https://raw.githubusercontent.com/Juerd/p6-mqtt/master/LICENSE
08:57 samcv text just says: Pick your favourite OSI approved license :)
08:58 u-ou :|
08:58 samcv not sure what to put for license identifier
08:58 tyil I wonder what legal license that is under
08:58 tyil samcv: just pick one
08:58 samcv uh. grep all the OSI approved liceese and then use OR semantics
08:58 samcv GPL-3.0 OR ARtistic-2.0 OR GPL-2.0 OR ......
08:58 samcv hahah.
08:58 u-ou maybe contact them
08:58 samcv tell them uhm
08:59 tyil "can you pick a license already"
09:00 samcv yeah
09:01 samcv just copy and paste exact text in a github issue :)
09:01 samcv though it would be crazy if they put OR semantics and did all like 40 OSI approved ones
09:01 samcv would be valid to the spec afaik
09:02 tyil if thats what they want, let them do it
09:02 tyil might wanna advice them in the issue not to do it, though
09:02 samcv lol
09:02 tyil then you at least tried
09:02 samcv cause it's insane
09:02 samcv but you COULD do it.
09:03 tyil you could also fork it by 9BST and just re-release it only under gpl
09:03 samcv goddamit
09:03 samcv X|
09:03 samcv :V
09:03 tyil !fw :V
09:04 tyil no fw bot? :<
09:04 samcv yeah my bot's not in here
09:04 tyil oh
09:04 tyil what a mediocre channel :'D
09:04 samcv there's plenty of other bots though
09:04 samcv huggable, hug tyil
09:04 * huggable hugs tyil
09:04 tyil tfw
09:04 tyil been ages since I had a hug :(
09:05 tyil now youre just tryna make me depressed
09:08 Cabanossi joined #perl6
09:09 jjack_ joined #perl6
09:12 samcv > use JSON::Fast; my %hash = from-json qx{curl 'https://raw.githubusercontent.com/sindresorhus/spdx-license-list/master/spdx-full.json'};  %hash.keys.grep({%hash{$_}<osiApproved> eq 'True'}).join(' OR ')
09:12 samcv well i did it
09:12 tyil :p
09:13 samcv https://gist.github.com/samcv/9649c99e1ada49916ceb034715a102b0
09:13 samcv all OSI-approved
09:13 samcv I should post that in the issue :) just for fun
09:14 tyil link to issue
09:14 samcv i haven't made it yet
09:14 tyil wow
09:21 samcv i wish i could write emails in markdown
09:21 samcv tyil, here's the issue https://github.com/Juerd/p6-mqtt/issues/3
09:22 El_Che samcv: there is html if you like to be unpopular in tech mids :)
09:22 samcv yes i know but
09:22 grondilu samcv: what prevents you from using markdown in emails?
09:23 samcv it not rendering as markdown in my email client or others clients
09:23 grondilu markdown is designed to look good even without any rendering
09:23 samcv oh hey would have been way faster to DL if i hadn't dl'd the json with the full license text for every single spdx licesne lol. https://github.com/sindresorhus/spdx-license-list/blob/master/spdx.json this one is much shorter
09:28 samcv m: 'GPL-1.0+ OR Artistic-1.0-Perl WITH Madeup-exception'.split(' OR ').perl.say
09:28 camelia rakudo-moar aa23a9: OUTPUT: «("GPL-1.0+", "Artistic-1.0-Perl WITH Madeup-exception").Seq␤»
09:28 samcv nice that it's easy to just split it and get all the licenses, and still works even if they have excptions
09:40 andrzejku joined #perl6
09:43 andrzejku joined #perl6
09:45 tyil samcv: you can write emails in markdown
09:45 tyil its just a plaintext format after all
09:46 tyil wether the email client renders it nicely is another question
09:48 tyil added a +1 to the issue
09:50 bjz joined #perl6
09:54 zengargoyle joined #perl6
09:56 samcv nice
09:58 El_Che tyil: it's not just text, but formatter. Any "advanced" feature you use (e.g. url, list, etc) will look weird
09:58 tyil hmm?
10:00 El_Che This is [an example](http://example.com/ "Title") inline link.
10:00 tyil yes?
10:00 El_Che that is extremely weird for someone that does not parses markdown in his head
10:00 El_Che as in "regular people" :)
10:00 tyil where is this suddenly coming from tho
10:00 tyil I'm aware how markdown works and looks like
10:00 wamba joined #perl6
10:01 El_Che tyil: ignore me, I probably misunderstood
10:01 grondilu links are not the best indeed, but it's not too bad.  Using tinyurl can also improve things
10:02 duncan_dmg joined #perl6
10:02 tyil tinyurl is using cloudflare tho
10:02 grondilu any similar service then
10:18 parv seems to me El_Che tried to explain the problem with markdown-in-email. for which i am thankful.
10:28 xtreak joined #perl6
10:33 andrzejku joined #perl6
10:34 astj joined #perl6
10:35 pierre_ joined #perl6
10:36 parv time to go ...
10:37 xtreak joined #perl6

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

Perl 6 | Reference Documentation | Rakudo