🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
merryprog dang, bisectable6, you're cool 00:03
Geth doc: patch++ created pull request #3987:
Fix sigil typos: ?& → &?
00:36
Geth Raku-Steering-Council/main: 8c11249aa2 | (Geoffrey Broadwell)++ | minutes/20211113.md
Add RSC meeting minutes for 2021-11-13
04:37
Raku-Steering-Council/main: d98e9af56a | (Geoffrey Broadwell)++ | minutes/20211127.md
Add RSC meeting minutes for 2021-11-27
elcaro my 8yo girls got upset that I didn't wait for them before doing AoC yesterday... now I have to wait :| 05:26
Geth doc: 0e1beb3ee0 | (Nova Patch)++ (committed using GitHub Web editor) | doc/Language/variables.pod6
Replace ?&FOO with &?FOO (#3987)
06:01
linkable6 Link: docs.raku.org/language/variables
gfldex elcaro: I can see a nice lump of coal coming your way. :-> 13:57
TheAthlete Hello! How to print unicode-table.com/en/3042/ in Raku using codepoint U+3042? 14:09
Example in ruby docs: "\x80\u3042".bytesize # => 4 14:10
$ raku -e 'my $s = "\c[14909826]"; say $s' 14:12
===SORRY!===
chr codepoint 14909826 (0xE38182) is out of bounds
phogg say "\x[3042]" 14:15
evalable6
TheAthlete Thanks a lot! 14:18
phogg TheAthlete: you can also use "\c[HIRAGANA LETTER A]" if you prefer, or just use "あ" literally.
grondilu what's the idiom to measure the duration of a program. Wasn't it `time - BEGIN time` ? It doesn't seem to work. 14:26
oh my bad it does work 14:28
MasterDuke now - INIT now 14:33
grondilu ah ok, that looks better indeed 14:36
Geth doc: Smylers++ created pull request #3988:
Correct equivalent for split without a pattern
15:32
Ergo444 hi 19:36
How can I add a new module?
lizmat a module such as App::Mi6 does a lot of the work for you 19:37
then, when you're ready, get a login on the zef ecosystem
and then run "mi6 release"
basically in a nutshell :-)
Ergo444 Why would I need App:Mi6? 19:38
lizmat you don't need it
but it makes life so much easier :-)
Ergo444 is there difference between any(@s) !=6 19:40
and all(@s)!=6 19:41
lizmat m: say so any(1,2,6) != 6
camelia False
lizmat yeah... != is a bit tricky with junctions.. there has been some debate about that 19:42
Ergo444 well, I used it in the code 19:44
lizmat can you rephrase it in such a way that it uses == ? 19:45
Ergo444 one(@s)!=6 19:46
m: say one(1,2,6)!=6
camelia Cannot modify an immutable Int (1)
in block <unit> at <tmp> line 1
Ergo444 m: say one(1,2,6) != 6
camelia False
Ergo444 m: say one(1,2,6) != 12
camelia True 19:47
Ergo444 m: say all(1,2,6) != 12
camelia True
Ergo444 m: say all(1,2,6) != 6
camelia True
Ergo444 m: say all(6,6,6) != 6 19:48
camelia False
Ergo444 where is the zef ecosystem? 19:53
lizmat in the cloud 19:57
360.zef.pm 19:58
360.zef.pm # better :-)
Ergo444 I cannot install it 20:01
It fails with errors
lizmat you cannot install what? 20:03
Ergo444 Fez
lizmat what is the error ? 20:04
Geth ecosystem: jaffa4++ created pull request #597:
Update META.list
20:07
Ergo444 a lot... I will skip it 20:08
Ergo444 updating meta.list looks easier. 20:08
Geth ecosystem: 75ba2c1f33 | jaffa4++ (committed using GitHub Web editor) | META.list
Update META.list

new module
20:09
ecosystem: 34bb178ce1 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | META.list
Merge pull request #597 from jaffa4/patch-1

Update META.list
tonyo Ergo444: stuff only gets fixed if bugs get reported 20:37
Ergo444 read this conversation.... github.com/croservices/cro/issues/...-983696562 20:38
tonyo what's that to do with fez? 20:39
Ergo444 nothing, but it has to do with that bugs I am not always fixed 20:42
even if they are reported
tonyo not reporting guarantees it won't get fixed. meta.list is eventually going away 20:43
Ergo444: are you jaffa4? 20:45
Ergo444 same
tonyo put it on meta.list then 20:47
Ergo444 I have already done so.
Summer I think ive found a race condition in the compiler 21:57
github.com/Summertime/answers/blob...02/raku-pm this file ran repeatedly over aoc input, will occasionally return the error: 21:58
Constraint type check failed in binding to parameter '<anon>'; expected anonymous constraint to be met but got Str ("forward 9")
but will run fine during the other attempts to run it 21:59
Geth doc: 13ad58cb09 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/temporal.pod6
Miscellaneous p6/raku changes plus grammar tweaks
22:00
linkable6 Link: docs.raku.org/language/temporal
Summer And it seems to always happen during a forward instruction, so probably an easy way to make a test file would be 22:01
printf 'forwards %s\n' {1..9} {1..9} {1..9} {1..9} {1..9} > .input 22:02
raku raku-pm < .input
[Coke] Summer: what version of rakudo are you using? 22:46
Summer oh good question
Welcome to Rakudo™ v2021.10. 22:47
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2021.10.
I'm unfortunately not in a position to practically build from master, sandboxing OS makes it a pain 22:48
[Coke] your sample has 'forwards' not 'forward' 22:49
[Coke] here, the magic size of the input file is 37 lines. 22:53
with that, always get the error, without, didn't see it.
I'm on macOS 11.6.1 22:56
Summer and I've made the forwards/forward mistake about 20 times already today too 😭 23:07
Nemokosch 😅 23:09