»ö« 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.
Xliff m: 170408.sqrt.say 01:20
camelia 412.805038728938
Xliff m: my enum <AAA BBB CCC>; my %n = ( AAA => 'a', BBB => 'b', CCC => 'c' }; say %n{AAA} 02:26
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in parenthesized expression; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3 = ( AAA => 'a', BBB => 'b', CCC => 'c' 7⏏5}; say %n{AA…
Xliff m: my enum <AAA BBB CCC>; my %n = ( AAA => 'a', BBB => 'b', CCC => 'c' ); say %n{AAA}
camelia a
elcaro Xliff: I'd say that's because enum values stringyfy as their name 02:32
elcaro and hashes default to string keys unless declared with %h{Any} (or a more specific type) 02:33
m: my enum <AAA BBB CCC>; my %h{Any} = (AAA) => 'a', (BBB) => 'b', (CCC) => 'c'; say %h{AAA}; say %h<AAA>; 02:34
camelia a
(Any)
Xliff elcaro: Why %h{Any}? 02:38
m: my enum <AAA BBB CCC>; my %n = ( AAA => 'a', BBB => 'b', CCC => 'c' ); say %n{AAA}; say %n<AAA> 02:39
camelia a
a
Xliff Ah. I think I get it. 02:39
m: rand * 360 02:45
camelia WARNINGS for <tmp>:
Useless use of "*" in expression "rand * 360" in sink context (line 1)
Xliff m: say rand * 360
camelia 179.21518249519428
ChoHag So, sometimes when I get like this I come in here and start ranting at whoever's around for doing this to my favourite language. How're things this time? 03:16
(Also that's a roundabout way of asking what's new in the last, I don't know, 6 months-ish)
Last I heard/really concentrated, perl 6 was "just about done, honestly, any minute now". I think 6d? Something like that. 03:18
ChoHag By the way if I'm coming across as antagonistic that's just because I'm drunk and trying to be funny. This is an honest question. 03:19
Xliff m: my $s = 0; for ^12 { say $s > 12 ?? 0 !! $s++ } 03:28
camelia 0
1
2
3
4
5
6
7
8
9
10
11
Xliff m: 3.rand.say 03:29
camelia 2.4185029798972404
Xliff m: 3.rand.say
camelia 0.8495419437821555
Xliff m: 3.rand.say
camelia 2.7888226234322904
Xliff m: 3.rand.floor.say for ^10 03:30
camelia 2
1
2
2
0
2
0
0
1
1
ChoHag What does the ^12 do if there's also a 12-ternary with a ++? 04:23
ChoHag Does that just ultimately having two iterators, $_ (?) and $s, or something else that I'm not seeing? 04:24
have
elcaro Xliff: sorry was AFK. by default, Hash's are secretly %h{Str}, so all keys get coerced to Str 05:13
elcaro ChoHag: Perl 6 is "done" as in, version 1 was released a few years ago... now it's undergoing constant development like most other languages 05:19
elcaro ChoHag: the '^12' is short-hand for '0 ..^ 12' which means the range "0 up-to-but-not-including 12" 05:19
Geth doc: 31d7ee314f | (JJ Merelo)++ | doc/Type/Signature.pod6
Addresses first part of #2404
05:30
doc: 9ac0e9e92f | (JJ Merelo)++ | doc/Type/Signature.pod6
Reindexes argument aliases as such, closes #2404
doc: 03274aae4c | (JJ Merelo)++ | doc/Type/Signature.pod6
Minor clarifications
synopsebot Link: doc.perl6.org/type/Signature
Xliff m: role A { submethod BUILD { say 'role' }; }; class B does A { submethod BUILD { say 'class' }; }; B.new; 06:28
camelia class
lizmat clickbaits p6weekly.wordpress.com/2019/05/27/...thats-why/ 07:30
Xliff m: say "\342" 07:39
camelia 5===SORRY!5=== Error while compiling <tmp>
Unrecognized backslash sequence: '\342'. Did you mean $341?
at <tmp>:1
------> 3say "\7⏏05342"
expecting any of:
argument list
double quotes
term
Xliff m: say "\0342"
camelia ␀342
Xliff m: say "\o342"
camelia â
Xliff m: say "\o342\o236\o236" 07:40
camelia â
Xliff m: say "\o236\o236"
camelia
noisegul Good morning everyone 07:52
holyghost good morning 07:53
cpan-p6 New module released to CPAN! Soundn::Tina (0.1.2) by 03HOLYGHOST
holyghost ^-- it's a WAV file parser with some sample pattern recognition, it's pretty straightforward code 07:55
holyghost I had it lying around, it comes from my holly6src scratchpad 07:57
I need to add docs tomorrow
timotimo holyghost: you have a problem in your META6.json 08:07
timotimo holyghost: the use statements for Vector32bit are also wrong 08:08
you're publishing code that doesn't even compile. again.
timotimo jj already told you in no uncertain terms that that's not cool 08:08
did you perhaps miss that?
Xliff What's the best way to form a unicode character? 08:10
timotimo m: say "\c[snowman]"
camelia
Xliff How about from octal numbers?
timotimo m: say "\o777" 08:11
camelia ǿ
timotimo m: say "\o7777"
camelia ࿿
Xliff m: say "\o342\o236\o236"
camelia â
sena_kun github.com/rakudo/rakudo/issues/2169 can be closed
Xliff ^ That's not what I expected, though.
timotimo m: say uninames(0o342, 0o236, 0o236)
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling uninames(Int, Int, Int) will never work with signature of the proto ($, *%)
at <tmp>:1
------> 3say 7⏏5uninames(0o342, 0o236, 0o236)
timotimo m: say .&uniname for (0o342, 0o236, 0o236) 08:12
camelia LATIN SMALL LETTER A WITH CIRCUMFLEX
<control-009E>
<control-009E>
Xliff Interesting.
timotimo m: say .&uniname for (0x342, 0x236, 0x236)
camelia COMBINING GREEK PERISPOMENI
LATIN SMALL LETTER T WITH CURL
LATIN SMALL LETTER T WITH CURL
Xliff When I do "\342\236\236" in C I get an arrow.
timotimo that'd be utf8 probably?
Xliff uniname: →
timotimo m: say Buf8(0o342, 0o236, 0o236).decode("utf8") 08:13
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
Buf8 used at line 1. Did you mean 'buf8', 'Buf'?
Xliff m: '→'.uniname.say
camelia RIGHTWARDS ARROW
timotimo m: say buf8.new(0o342, 0o236, 0o236).decode("utf8")
camelia
timotimo m: say buf8.new(0o342, 0o236, 0o236).decode("utf8").ords
camelia (10142)
timotimo m: say "\c10142"
camelia
patrickb sena_kun: Closed.
Xliff m: '→'.unichar.say
camelia No such method 'unichar' for invocant of type 'Str'
in block <unit> at <tmp> line 1
sena_kun patrickb++ vrurg++
patrickb vrurg++ indeed 08:14
HarmtH virt
holyghost I'm working on it timotimo, I upload early 08:15
timotimo no, stop that
cpan is not for early uploads
use github or gitlab or bitbucket or sourceforge or savannah or whatever for early uploads 08:16
stop putting broken code on cpan
holyghost It'll be allright 08:17
lizmat holyghost: FWIW, at the moment I'm just ignoring *anything* you upload in the Perl 6 Weekly 08:21
holyghost: if you like your uploads to show what you can do as a developer, you need to clean up your act 08:22
lizmat note to self: I guess we need to work on creating a full-fledged recommendation manager with purging capabilities 08:22
cpan-p6 New module released to CPAN! Soundn::Tina (0.1.3) by 03HOLYGHOST 08:23
holyghost release often, release early, a few bugs won't damage anything 08:24
Xliff holyghost: That works better for git. 08:26
But even then... push carefully.
holyghost I'm doing my best Xliff
Xliff holyghost: Everyone is telling you that you should be trying harder.
Nicely. 08:27
holyghost ok, it used to compile BTW, I need to update it just for the newest perl6
I have it fixed fully by tomorrow 08:28
sena_kun can't imagine this community is the first that encounters such an issue 08:29
holyghost Just don't worry about it, I can manage, I've done it before 08:30
holyghost lizmat, FWIW, you can see at Mathx::Stat and Bayes::Learn if you need to 08:33
those are documented and bugless
then there's Game::AI::Messaging
The rest I need to figure out, I'm probably working on too much modules at the same time 08:34
lizmat what kind of test is this? 08:36
is-deeply $p.Bayes(@indices, @plist, 1), $p.Bayes(@indices, @plist, 1);
holyghost I cannot compare it to a number
It calculates Bayes of course
lizmat feels to me you're testing whether 42 is equal to 42
holyghost yes, if ti runs it gives you the conditional probability calculated by the Bayes formula 08:37
I cannot use aq number for it as that's different on e.g. 32 and 64 bit
s/aq/a 08:38
more or less
holyghost lizmat : I can help you out if you like but I don't have much time on my hands 08:42
lizmat neither
ChoHag Perl 6 is done? Does that mean all the synopses? 08:45
Including the one on pod? 08:46
lizmat ChoHag: there's been quite a lot of stuff done on pad in the past year or so, not sure how complete the work is 08:47
ChoHag I was looking forward to a bit more runtime control over the documentation.,
lizmat jmerelo probably knows more about it 08:47
ChoHag It's pad now? Is that a typo or is it short for Plain Annoying?
timotimo nah, it's pod 08:48
lizmat ChoHag: oops, typo, pod 08:49
timotimo ChoHag: we don't have everything from all synopses, but the synopses haven't been considered "The Language Definition" for a while; that is roast's job now 08:53
Xliff timotimo: Here's one for you. 08:54
m: class A { method Int { 1; } }: multi sub (A $a) { say 'a' }; multi sub (Int() $a) { say 0; }; a(A.new) 08:55
camelia 5===SORRY!5=== Error while compiling <tmp>
Confused
at <tmp>:1
------> 3class A { method Int { 1; } }:7⏏5 multi sub (A $a) { say 'a' }; multi sub
expecting any of:
colon pair
Xliff m: class A { method Int { 1; } }; multi sub (A $a) { say 'a' }; multi sub (Int() $a) { say 0; }; a(A.new)
camelia 5===SORRY!5=== Error while compiling <tmp>
An anonymous routine may not take a multi declarator
at <tmp>:1
------> 3t { 1; } }; multi sub (A $a) { say 'a' }7⏏5; multi sub (Int() $a) { say 0; }; a(A.n
expecting any of:
h…
Xliff m: class A { method Int { 1; } }; multi sub a (A $a) { say 'a' }; multi sub a (Int() $a) { say 0; }; a(A.new)
camelia a
Xliff WTF?
m: class A { method Int { 1; } }; multi sub a (A $a) { say 'a' }; multi sub a (Int() $a) { say 0; }; A.new.Int 08:56
camelia ( no output )
Xliff m: class A { method Int { 1; } }; multi sub a (A $a) { say 'a' }; multi sub a (Int() $a) { say 0; }; A.new.Int.say
camelia 1
Xliff m: class A { method Int { 1; } }; multi sub a (A $a) { say 'a' }; multi sub a (Int() $a) { say 0; }; a(A.new) 08:56
camelia a
Xliff Why isn't that giving me the same confusing stuff as my code>?
Hmm...
m: class A { method Int { 1; } }; class B { multi method a (A $a) { say 'a' }; multi method a (Int() $a) { say 0; }; }; B.new.a(A.new) 08:57
camelia a
Xliff m: $*PERL.compiler.version.say
camelia v2019.03.1.385.ga.643.b.8.be.1
timotimo the version is also part of camelia's output 08:58
Xliff timotimo: It's weird. But what I am seeing is that multi methods that have the same number of parameters, if one is coercive, that will BYPASS those that are more restrictive.
timotimo OK, that seems odd
without seeing the actual code, not sure i can help 08:59
Xliff /o\ 09:03
No. I figured it out. 09:04
Thanks for waiting.
lizmat someone needs a reply on twitter: twitter.com/marver/status/1133291661205934080 09:40
:-) 09:43
Xliff lizmat: Replied. 09:53
lizmat Xliff++
timotimo butterfly hit squad assembla 09:56
lizmat clickbaits p6weekly.wordpress.com/2019/05/27/...thats-why/ 11:41
holyghost I need to adapt @8bitpattern in simplesearch(...) from the PatternChannelLib.pm6 but it should compile now 11:49
It needs to be a scalar
upload is version 0.1.4. from Soundn::Tina 11:50
lizmat have you heard of github, gitlab or a gist ??
holyghost lizmat : ok 11:52
WAM (wait a minute)
moritz wake me up, before you go go! 11:54
kurahaupo starts humming "wake me up before you go-go"
moritz: *snap*
cpan-p6 New module released to CPAN! Soundn::Tina (0.1.4) by 03HOLYGHOST 11:57
holyghost lizmat : It's on github.com/theholyghost2/Soundn-Tina 11:59
It needs to upload the neww code I importedd with the Web GUI, I guess 12:00
anyway, it shouokld compile now from the version on cpan (0.1.4) 12:02
holyghost The docs are included 12:08
lizmat doesn't see any 12:11
Xliff timotimo: p6-Clutter now has working tests in t 12:15
Geth ¦ problem-solving: AlexDaniel assigned to rba Issue Push access to repositories in perl6 organization github.com/perl6/problem-solving/issues/33 12:20
¦ problem-solving: AlexDaniel assigned to maettu Issue Push access to repositories in perl6 organization github.com/perl6/problem-solving/issues/33
timotimo holyghost: does the test file run now? 12:25
in the META6 there's still Matrix32.pm6 while in the folder it's called Matrix32bit.pm6 12:27
and Vector32bit.pm6 tries to instantiate Vector8bit, which has to be Soundn::Tina::Vector8bit instead, since you renamed that 12:28
and File32Parser.pm6 is the next file that doesn't compile, it doen't find "Parser" 12:29
probably because it's called WAVParser in the file?
timotimo and there's one } too many in File32Parser.pm6, before the last method. it warns you that you put the method transformtodata outside of a class 12:30
timotimo oh, you have two WAVParser classes actually, one is in WAVParser and one is in Parser 12:31
why do you keep uploading broken code to cpan when multiple people have asked you to please stop doing that
Xliff holyghost: If you would like, I can try and send you a PR that will allow you to build all of the classes in your project so you can run that BEFORE you release to CPAN.
timotimo you're clearly not even trying to run the code a single time before uploading it, otherwise you would be getting these compiler errors 12:32
Xliff timotimo: When you get some time, please try the latest p6-Clutter. Requires the latest p6-GtkPlus. 12:35
Xliff I will have to update the install docs. It's become a lot easier to get things to run... unfortunately not faster, though. 12:35
Xliff OK. Installation instructions now written and sent to the github project page. 12:42
github.com/Xliff/p6-Clutter/
ugexe someone should benchmark how long the 90+ distributions uploaded by holy ghost adds to zef/rakudo parsing and searching :P 13:49
lizmat ugexe: perhaps a filter on holyghost would be more effective ? 13:50
ugexe well, its a policy issue and we don't really have any policy yet. additionally it could be argued we need a better api for the ecosytem than "include all meta data for everything" 13:52
ugexe there are essentially two modes of meta data searching -- the primary one only searches for namespace data, while the other is searching tags/description etc. the former doesn't require all the meta data, while the later does 13:55
ugexe anywho we *can* dictate policy, but we don't have any prior (perl6) art to work with yet. and such a policy would be that of specific ecosystems. 13:57
what we don't want is various ecosystem generating tools to have stuff hardcoded like `next if $author ~~ /foo/` 13:58
generating *or* consuming
so an ultra naive solution would have some sort of way for members to "vote" for a module to be hidden 13:59
lizmat ugexe++ 14:06
AlexDaniel 90+ distributions? 14:13
ugexe multiple versions of multiple namespaces 14:14
Xliff \o 14:21
I'm getting this when trying to rebuild rakudo: 14:22
Can't locate object method "note" via package "NQP::Config::Rakudo"
And now I can't rakudobrew moar or moar-blead
Using rakudobrew v2 will compile, but I can't get shim or env mode to work... that means I can't run the build executables!
ugexe check last night backlog of #perl6-dev 14:23
Xliff ugexe: OK
patrickb Xliff: WRT rakudobrew v2 not working: Did you update the entry in .profile/.bash_profile/... ? 14:24
AlexDaniel rakudobrew v2 O_o
AlexDaniel is hoping to catch up next week or so
Xliff patrickb: Yes.
patrickb AlexDaniel: It's the normal rakudobrew. He just meant not the v1 branch used in travis builds. 14:25
patrickb Xliff: I'd be interested in how it fails. 14:27
Xliff: Which branch of rakudobrew you use should have no influence on whether the build works or not. I'd be surprised if it does in your case. 14:28
Xliff After "git submodule update" my entire perl6 install is now not working.
holyghost timotomo, Xliff : I'll update tomorrow (Matrix32bit META.json issue) 14:29
patrickb vrurg: ^ 14:30
Xliff Back to latest v1. Completely new install. :p 14:31
holyghost also the is ClassX::things 14:32
vrurg Xliff: symptoms? What's broken?
Xliff vrurg: Let me get back to you after the clean install finishes. 14:33
Mine was very long in the tooth.
Xliff vrurg: Although if you want the last failure mode, you can find it here: paste.fedoraproject.org/paste/-dsy...tBWiBU~~uQ 14:34
After that bit, I had to force clean, co: rakudobrew: error while loading shared libraries: libmoar.so: cannot open shared object file: No such file or directory 14:35
\o/ -- This is Rakudo version 2019.03.1-492-gca7408e9f built on MoarVM version 2019.05-11-g248e2980a
holyghost Xliff, timotimo, the upload should show soon 14:37
vrurg Xliff: did you try moar-blead with rakudobrew? I'm just looking for something reproducible.
holyghost Xliff, timotimo, I adpated to my best 14:38
Xliff vrurg: moar-blead has been the only thing I could use from v1 for the last week or so.
ugexe oh if thats the case then rakudobrew will be broke on travis when someone does `perl6: 2019.05` or whatever 14:39
or 2019.03.1 rather 14:40
patrickb I am pretty sure the rakudobrew that is used is irrelevant to these problems.
Guest12727 do we know if the nuke command in rakudobre v2 has been fixed yet? 14:41
holyghost I need to add test, still reaching out 14:41
I'm a bit afk now
patrickb Guest12727: What has been broken with nuke in the past? 14:42
Guest12727 patrickb: it used to work but in the new version it's broken 14:42
see github.com/tadzik/rakudobrew/issues/142 14:43
patrickb Just found that. I'll have a look.
Guest12727 ++patrickb
cpan-p6 New module released to CPAN! Soundn::Tina (0.1.5) by 03HOLYGHOST 14:44
vrurg rakudobrew doesn't specify --prefix for Configure.pl. This is what breaks the build (nqp/moar are picked from PATH). 14:45
patrickb .tell tadzik Gentle reminder about github.com/tadzik/rakudobrew/pull/136
yoleaux patrickb: I'll pass your message to tadzik.
patrickb .tell tadzik I'd like to request a commit bit for rakudobrew. 14:46
yoleaux patrickb: I'll pass your message to tadzik.
tadzik heh, this chain of ifs reminds me of some of my JS code
yoleaux 14:45Z <patrickb> tadzik: Gentle reminder about github.com/tadzik/rakudobrew/pull/136
14:46Z <patrickb> tadzik: I'd like to request a commit bit for rakudobrew.
tadzik patrickb: request granted :)
use it responsibly ;)
Xliff tadzik: Heyy! If it's that easy to get a commit bit... .oO( I hope he realizes I'm kidding! ) 14:47
holyghost .tell Xliff I'm going to do an SDL2 game later on, I'd like you to debug it
yoleaux holyghost: I'll pass your message to Xliff.
Xliff o_O
yoleaux 14:47Z <holyghost> Xliff: I'm going to do an SDL2 game later on, I'd like you to debug it
Xliff holyghost: I'm quite busy these days. When you are ready, let me know. Give me a couple of days, however. 14:48
And I'm utterly serious about getting you to use those scripts. They may need a bit of modification, but they will help you improve the code you submit.
holyghost Xliff, we'll manage 14:49
holyghost Xliff, I'm glad you're on game software, even if they're not Gtk based :-) 14:51
holyghost barf *lol* 14:52
vrurg tadzik: may I ask you to have always specify --prefix for Configure.pl in rakudobrew? 14:53
patrickb vrurg: What did the rakudo build do without --prefix before the build-revamp? 14:54
vrurg patrickb: it was using ./install by default.
That's what it does now if no nqp found in PATH. 14:55
ugexe if i have an nqp from 2019.03.1 installed from rakudobrew, and do rakudobrew build moar-blead, couldn't the old nqp in the PATH get chosen by mistake? 14:57
patrickb I guess that's what happens now. 14:58
vrurg ugexe: it currently will. That's why I'm asking for explicit --prefix. Or I'd have to pull PATH seeking from Configure.pl. 14:58
ugexe i dont think the PATH thing is compatible with multiple perl6 installs then
patrickb We should either fix rakudobrew by adding --prefix to the build, or remove the logic to check for nqp in PATH. 14:59
I'm unsure whether I like that behavior...
ugexe ignore rakudobrew -- what if i manually want to install two perl6s?
vrurg ugexe: --prefix or --with-nqp turns that logic off.
ugexe rakudobrew doesn't use --with-nqp then eh? 15:00
patrickb Hm. It's using --gen-nqp IIRC
In that case it should obviously also use the generated NQP...
patrickb it uses `Configure.pl --backends=moar --gen-moar --git-reference=\"$git_reference\" --make-install` 15:04
The `triple` command uses `Configure.pl --backend=moar` after installing moar and nqp into ./install 15:05
vrurg patrickb: I copied the logic of handling --gen-nqp from the previous configure. It was pretty relaxed about this parameter. nqp takes --gen-moar more literally.
ugexe you copied the logic, but the problem is you said --gen-nqp itself disables the PATH thing while also removing --gen-nqp from the command
(im assuming it used to be there but can be wrong) 15:06
vrurg ugexe: no, --gen-nqp doesn't disable it. --with-nqp does. That's because --gen-nqp was always kinda optional things saying 'gen if not found' 15:07
ugexe oops
vrurg I'm not sure yet which way is better: make it always rebuild nqp with --gen or leave as it is now. 15:08
patrickb I'm leaning towards disabling the search in PATH thing. There is quite some potential for messing up and breaks backwards compatibility. On the other hand it's easy to print a message notifying the user that no NQP could be found and she needs to specify one. 15:10
vrurg I'd like to keep PATH in place for beginners who would have nqp package pre-installed. Because what a typical beginner does – ./Configure, no params.
patrickb vrurg: But such users would probably rather have a fitting NQP built for them than using some unkown NQP a distro provided. 15:11
vrurg patrickb: I'm not certain about that. What's probably more relevant is compatibility matter. The package would most likely be outdated comparing to what one clones from git. 15:14
patrickb True. 15:15
vrurg I have to go now. Would think of it over the day. But most likely will remove the feature tonight.
lizmat fwiw, the current behaviour was a bit of a WAT to me
yoleaux 14:29Z <vrurg> lizmat: picking up of moar/nqp from PATH is aimed at beginners who might have pre-installed packages. It is only used if there is no --prefix or --with-nqp/with-moar are used.
patrickb o/ 15:16
vrurg lizmat: sorry for that. :(
o/
lizmat vrurg: no worries 15:17
jmerelo o 15:21
Geth ¦ doc: JJ assigned to antoniogamiz Issue Cache generated documentation github.com/perl6/doc/issues/717 15:30
Xliff timotimo: You might need to bump Cairo. zef isn't picking up the latest changes. 15:47
holyghost lo JJ, I'm into games with Xliff later on this week
Xliff : indeed 15:48
timotimo, writing interfaces really is for a true-hacker
Xliff
.oO( wtf? )
15:49
Geth doc/master: 5 commits pushed by (JJ Merelo)++ 15:51
jmerelo holyghost: I'd be very grateful if you read this I wrote a few days ago: colabti.org/irclogger/irclogger_lo...05-23#l222 15:54
holyghost: today you have released a new module without tests or documentation. You need to stop doing that, for the sake of the whole perl6 community 15:55
holyghost jmerelo, there's docs
I make the tests tomrrow
I will read it 15:56
I will
jmerelo holyghost: no, you won't. You've said that repeatedly, yet you keep uploading stuff to CPAN that does not meet the minimum requirements for modules.
holyghost: the TL;DR of those messages is: stop uploading modules to CPAN if they are untested, undocumented, developed outside a repository where people can submit patches. 15:57
jmerelo holyghost: I would also kindly ask you to remove all modules in CPAN that do not meet those standards. 15:57
jmerelo holyghost: and to stop uploading them until someone or a group of someones has reviewed them to check that they meet the community standards. You can upload them to some repo like GitHub or GitLab for that purpose, and share the link here. 15:58
holyghost ok 15:59
Did you see the docs of Soundn::Tina, they're in however
jmerelo holyghost: do you understand that this means that if you upload any other module, or any other version of existing modules, we might have to take some measure about it? 16:00
holyghost sure
jmerelo holyghost: I saw the docs in the one previous to that. They're not docs, they're comments. It does not have a README.md file. No one will be able to find out what it does. That's the problem with all your modules I've checked.
holyghost: OK, thanks for understanding this. 16:01
holyghost I'll try to troll les on cpan 16:03
holyghost I'll try to add tests and docs to my modules 16:05
I understand that cpan is good code for everyone
JJ, is Mathx::Stat and Bayes::Learn all right for you ? 16:06
and Game::AI::Messaging ?
they have docs and tests 16:07
jmerelo holyghost: this is one of the tests in Mathx::Stat. is-deeply $p.CalculatedCondP(3,0), $p.CalculatedCondP(3,0); 16:07
holyghost: do you think that's OK?
holyghost as it's not a number, I explained lizmat before
jmerelo holyghost: that's not the point. Something is going to always be equal to itself. Saying that's a test is cheating in Solitaire. 16:08
holyghost yes but it runs ...
lizmat m: use Test; is 42,42, 'success!'
camelia ok 1 - success!
jmerelo holyghost: you might need to check out some literature about unitary tests. You can start here: docs.perl6.org/language/testing and continue here: perl6advent.wordpress.com/2017/12/...he-things/ 16:09
timotimo jmerelo: but that calls the method twice, so if CalculateCondP accidentally modifies the $p, this could perhaps catch the mistake
holyghost no it won't
ok, I'll read up on that tommrow
AlexDaniel timotimo: or if it segfaults… :D 16:10
timotimo BBL
AlexDaniel that's something that Blin can catch, at least
jmerelo timotimo: you got me there. That's only an example, though.
timotimo: also, it does not test what it should actually be returning, only that whatever is returning, it's returning it twice. 16:12
holyghost JJ : anything else about Mathx::Stat an Bayes::Learn ? :-) 16:15
jmerelo holyghost: it's still the same thing as the rest. I would be much more comfortable if you deleted them from CPAN and submitted the whole repo (these are in a repo, at least) for review here before uploading them again. 16:16
holyghost: there's an issue in that repo that's been gathering dust for some time. Addressing issues is always a good idea. 16:17
holyghost ok
ugexe holyghost: what command do you use to test with? 16:24
holyghost ugexe : perl6 --blob 16:30
jmerelo holyghost: that syntax is incorrect. Just run it in your command line. 16:31
holyghost the perl6 test command 16:33
anyway, I uploaded Mathx::Stat and Bayes::Learn to github.com/theholygohst2, you cann ad PRs if you like or comment (latest version) 16:34
*github.com/theholyghost2 16:35
ugexe what is --blob?
jmerelo holyghost: I added an issue. Just mentioned it above.
holyghost jemerelo : I don't know if it updatedd correctly 16:36
ugexe : I don't remember 16:37
ugexe $ perl6 --blob foo.p6 16:43
Illegal option --blob
i find it hard to believe you are testing with `perl6 --blob`
holyghost ugexe : I'm sorry, I don't remember, it's the usual perl6 test flagged command 16:47
ugexe there is no such thing
lizmat
.oO( unbelievable )
16:50
jmerelo holyghost: you should really try to learn to run tests before uploading stuff to CPAN. Please check out the two links I've pointed you to above. 16:51
jmerelo holyghost: we'll be here to help you just in case you need help. But in order to get going, reading the documentation always helps. 16:52
holyghost ok 16:53
I did run the tests, I just forgot the command
holyghost jmerelo : thanks for the links 17:07
jmerelo holyghost: no problem. We're here to help. And be helped, too. 17:12
notable6:
notable6 jmerelo, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Notable
jmerelo notable6: Concurrent evolutionary algorithms in Perl 6, presented in EvoStar 2019 Leipzig geneura.wordpress.com/2019/05/28/e...in-perl-6/ 17:13
notable6 jmerelo, Noted!
holyghost jmerelo : thanks, I'm going to work on a game with Xliff as a ebugger soon
*debugger
jmerelo holyghost: good
holyghost I'll try to push on some links of github
Geth doc: 1a117976df | (JJ Merelo)++ | doc/Language/00-POD6-CONTROL
Deletes page from control file refs #2810
17:39
synopsebot Link: doc.perl6.org/language/00-POD6-CONTROL
hythm_ I have a grammar that broke after updating rakudo to latest: i made a small version of the grammar in this gist : gist.github.com/hythm7/dedb6638105...f99f04e323 17:40
moritz m: gist.github.com/hythm7/dedb6638105...f99f04e323 17:41
camelia True
moritz oh, it breaks only some times? that's really odd 17:42
hythm_ in the gist there is output file, with the perl6 version that works consistently. basically latest breaks intermittently
yes sometimes only, also i noticed 'no precompliation' makes it break more often 17:43
moritz hythm_: please report at github.com/rakudo/rakudo/issues/ 17:47
I'm now building a current rakudo to reproduce 17:50
hythm_: cannot reproduce with 2019.03.1-493-gc9a78928f (current rakudo/master) 17:52
$ for i in $(seq 100); do ./perl6-m grammar.p6; done|grep -v True|wc -l 17:54
0
hythm_ reported #2933 17:55
moritz so it seems it was broken in 2019.03.1 but fixed later?
hythm_ i updated using 'rakudobrew build moar' 17:56
i assume this build latest, i will update again a d check
dogbert17 perhaps it was this fix: github.com/perl6/nqp/commit/e49a70...e241ec2f4a (Parse |, ||, &, && prefixes not in nibble ) 17:58
hythm_ i literally updated rakudo one hour ago, and i see the issue. probably im using rakudobrew wrong. how can i install latest perl6 using rakudobrew? 18:04
jmerelo can someone check this out? stackoverflow.com/questions/563463...on-windows 18:09
Maybe a Rakudo Star error?
hythm_ no issue after building with `rakudobrew build moar master` 18:30
ugexe rakudobrew build moar-blead 20:16
gets the HEAD of rakudo, nqp, and moarvm
rakudobrew build moar master will probably get the latest rakudo, but only the version of nqp and moarvm defined in the *_REVISION files 20:17
hythm_ rakudobrew build moar-blead did not work for me, failed during compiling 20:53
AlexDaniel weekly: jmerelo: Concurrent evolutionary algorithms in Perl 6, presented in EvoStar 2019 Leipzig geneura.wordpress.com/2019/05/28/e...in-perl-6/ 22:17
notable6 AlexDaniel, Noted!
MasterDuke Anyone want to do Perl 6 versions? news.ycombinator.com/item?id=20027281 22:30
cpan-p6 New module released to CPAN! Cofra (0.1.0) by 03HANENKAMP 23:08