»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
Ashton what is the main domain in which perl is used? 01:14
Juerd Programming :) 01:16
vrurg Juerd: the answer of a real mathematician: absolutely precise and totally useless... ;) 02:07
AlexDaniel Juerd: fwiw we had a survey recently 05:09
and one question was kinda about that
like “what do you use perl 6 for?” 05:10
AlexDaniel huggable: domain 05:13
huggable AlexDaniel, nothing found
AlexDaniel huggable: domain :is: “What do you utilize Perl 6 for?” docs.google.com/forms/d/e/1FAIpQLS...lytics#c37
huggable AlexDaniel, Added domain as “What do you utilize Perl 6 for?” docs.google.com/forms/d/e/1FAIpQLS...lytics#c37
Woodi hi :) 07:49
Woodi realy, "real matematician answer" is precise *and* usefull as possible. just question have many answers :) so small loop over all meaning is needed... 07:53
jmerelo hi
Geth ecosystem: a582430a99 | (Tobias Boege)++ | META.list
Begin adding tobs' modules
08:08
ecosystem: ac928ada26 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #421 from taboege/tobs-modules-1

Begin adding tobs' modules
Woodi is there slimmer match object representation ? in my small script reading and parsing file is bit faster then for loop over match object... 08:11
jmerelo Woodi: what do you mean by slimmer? If you want to extract information without regexes, there's some way to do that too... But regexes or grammars are the only ones that do the heavy lifting, and they return Matches 08:21
Woodi jmerelo: I mean: when printing match object it is HUGE :) then I interpolated this to big cost of parsing match object content 08:35
moritz Woodi: $/.Str is much faster than $/.gist 08:39
jmerelo Woodi: it's an object, you can work with it, map parts of it, whatever... docs.perl6.org/type/Match You can also convert it to string as moritz has just said.
Woodi possibly converting match object content to string is slow down... 08:42
Woodi grrr, *to num 08:43
for @($h<cs>) -> $c { push @cols, ~$c; } that ~$c is .gist ? 08:45
jmerelo Woodi: ~$c calls Str. You can use some of the other methods, like chunks or pairs. There are many ways to extract information from Match, some are faster than others. 08:56
Geth doc: 293d187499 | (JJ Merelo)++ | doc/Type/Match.pod6
Clarifies Match and revises
09:03
doc: 2d4de01f2c | (JJ Merelo)++ | doc/Type/Match.pod6
Adds clone and eqv, closes #2521
synopsebot Link: doc.perl6.org/type/Match
Geth doc: b948c9dfa1 | (JJ Merelo)++ | doc/Language/experimental.pod6
Adds :cached with @uzluisf code, refs #2514
09:26
synopsebot Link: doc.perl6.org/language/experimental
Woodi looks like pre-warming 'now' in BEGIN block (and using it) change timings for a lot. so looping over match object is faster then parsing 09:37
jmerelo Woodi: don't really follow you, but if it works for you, that's great
Woodi jmerelo: just need more quality data :) 09:38
Geth doc: 48072beb77 | (Elizabeth Mattijsen)++ | 2 files
Document blob8.read-(u)bits / buf8.write-(u)bits
13:02
AlexDaniel ‘Each PPM image consists of the following: 1. A "magic number" for identifying the file type. A ppm image's magic number is the two characters "P6".’ 13:39
;) ;) ;)
Geth ecosystem: taboege++ created pull request #422:
Continue adding tobs' modules
13:56
pmurias lizmat: do we have a reason for having the write-int etc. methods only on blob8 and not with other element sizes? 15:14
lizmat well, they have less sense on other types, no ?
fwiw, I'm just following what jnthn set out in gist.github.com/jnthn/1e865a06d213...2908858a57 15:15
lizmat well, at least wrt to them being methods on blob8/buf8 15:15
pmurias lizmat: I'm not sure how usefull they would be with other blobs 15:27
just asking because the underlying nqp:: ops support other element sizes
write-bits would make sense on other blob sizes tho 15:28
lizmat pmurias: well, write-bits is really written for the blob case, as it doesn't use any of the read/write-int methods but just atpos_i and bindpos_i 16:07
lizmat but I guess that could be done smarter if necessary 16:08
Geth doc: 2f484dd264 | (JJ Merelo)++ | doc/Type/Any.pod6
Eliminates experimental, closes #2524
16:45
synopsebot Link: doc.perl6.org/type/Any
jmerelo Hi! 17:29
jmerelo starting to work on the future Apress book "Perl 6 quick reference" 17:31
SmokeMachine I was thinking on create a way to create Schema class to Red to make it possible to defined related models on different files. But i think that with this idea (github.com/FCO/Red/issues/70) it isnt needed any more. What do you guys think? 17:44
melezhik Hi! How do I convert pod6 to plain text programmaticly or even better to plain text with ansi colors? 19:40
timotimo use Pod::To::Text for that
melezhik timotimo: thanks, will take a look, is it core one? 19:41
moritz yes
timotimo it actually is, yeah
moritz perl6 --doc=Text input.p6 19:42
iirc
melezhik thanks, guys 19:43
melezhik any way to omit complication / syntax check when run perl6 --doc path ? 19:55
timotimo no, the program has to be parsed, and rakudo can only parse valid syntax 19:58
though you can probably somehow do something about outputs it does
if not, a bug will probably want to be filed
melezhik thanks, will try to access pod inside my program -docs.perl6.org/language/pod#Accessing_Pod 20:01
ahh , it will not not help me ): ... 20:02
actually it is not a bug ... I mean the program gets complied but it require some "use ..." 20:05
the problem is the program itself is executed though EVALFILE
and does not declare any dependencies itself ((:
so not doing syntax check when perl6 --poc would be helpful , though not critical for me right now ... 20:06
buggable New CPAN upload: Tomtit-0.0.8.tar.gz by MELEZHIK modules.perl6.org/dist/Tomtit:cpan:MELEZHIK 20:35
uzl My PR to add a Pod tutorial to LXIYM has been accepted. It mirrors the Pod in the documentation but I shuffled some topics around. 21:21
link: learnxinyminutes.com/docs/perl6-pod/
Feel free to go over it and correct anything that might be wrong.
buggable New CPAN upload: Tomtit-0.0.9.tar.gz by MELEZHIK modules.perl6.org/dist/Tomtit:cpan:MELEZHIK 21:35
New CPAN upload: Tomtit-0.0.10.tar.gz by MELEZHIK modules.perl6.org/dist/Tomtit:cpan:MELEZHIK 21:45
FractionalFimbul Imma ghost for awhile so I can interact properly. 21:57
Still getting up to speed on previous versions of perl. 21:58
timotimo well, perl5 isn't really a "previous" version 22:06
oh, they're already gone from irc
kurahaupo_ timotimo: I'd agree, but I'd put the quotes differently: perl5 isn't really "a" previous version 22:14
AlexDaniel looks at en.wikipedia.org/wiki/Perl 23:04
that page is really weird
it says it's a family of two languages, and then goes to talk about perl5 only 23:05
that page should probably be renamed to “Perl 5”… 23:06
El_Che An so, kids, the civil war was started 23:15
:)
AlexDaniel what civil war
the page is just confusing
El_Che The Great Perlic Wars :)
El_Che (yes, it's confusing indeed) 23:16
AlexDaniel it says “Perl 5 and Perl 6” and then "Stable release 5.28.1"
that's just incorrect, that's all I'm saying
El_Che I know, it just dramatizing the narrative :)
buggable New CPAN upload: Tomtit-0.0.11.tar.gz by MELEZHIK modules.perl6.org/dist/Tomtit:cpan:MELEZHIK 23:35